Fix the type errors from the rebase

This commit is contained in:
Aria Minaei 2022-05-05 14:21:46 +02:00
parent abd79b197f
commit c6a7c40339
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
import type {IShorthandCompoundProps} from '@theatre/core'
import type {UnknownShorthandCompoundProps} from '@theatre/core'
import {types} from '@theatre/core'
import type {Object3D} from 'three'
import type {IconID} from './icons'
@ -9,7 +9,7 @@ export type Helper = Object3D & {
type PropConfig<T> = {
parse: (props: Record<string, any>) => T
apply: (value: T, object: any) => void
type: IShorthandCompoundProps
type: UnknownShorthandCompoundProps
}
type Props = Record<string, PropConfig<any>>
type Meta<T> = {

View file

@ -12,7 +12,7 @@ export type {
export type {ISequence} from '@theatre/core/sequences/TheatreSequence'
export type {ISheetObject} from '@theatre/core/sheetObjects/TheatreSheetObject'
export type {ISheet} from '@theatre/core/sheets/TheatreSheet'
export type {IShorthandCompoundProps} from '@theatre/core/propTypes'
export type {UnknownShorthandCompoundProps} from '@theatre/core/propTypes'
import * as globalVariableNames from '@theatre/shared/globalVariableNames'
import type StudioBundle from '@theatre/studio/StudioBundle'
import CoreBundle from './CoreBundle'

View file

@ -728,4 +728,4 @@ export type PropTypeConfig =
| PropTypeConfig_Compound<$IntentionalAny>
| PropTypeConfig_Enum
export type {IShorthandCompoundProps}
export type {UnknownShorthandCompoundProps}