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

View file

@ -12,7 +12,7 @@ export type {
export type {ISequence} from '@theatre/core/sequences/TheatreSequence' export type {ISequence} from '@theatre/core/sequences/TheatreSequence'
export type {ISheetObject} from '@theatre/core/sheetObjects/TheatreSheetObject' export type {ISheetObject} from '@theatre/core/sheetObjects/TheatreSheetObject'
export type {ISheet} from '@theatre/core/sheets/TheatreSheet' 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 * as globalVariableNames from '@theatre/shared/globalVariableNames'
import type StudioBundle from '@theatre/studio/StudioBundle' import type StudioBundle from '@theatre/studio/StudioBundle'
import CoreBundle from './CoreBundle' import CoreBundle from './CoreBundle'

View file

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