From c6a7c403396704e8d4cc7c442b89ccedb670a542 Mon Sep 17 00:00:00 2001 From: Aria Minaei Date: Thu, 5 May 2022 14:21:46 +0200 Subject: [PATCH] Fix the type errors from the rebase --- packages/r3f/src/editableFactoryConfigUtils.ts | 4 ++-- theatre/core/src/index.ts | 2 +- theatre/core/src/propTypes/index.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/r3f/src/editableFactoryConfigUtils.ts b/packages/r3f/src/editableFactoryConfigUtils.ts index 9a0a2b3..c9bc851 100644 --- a/packages/r3f/src/editableFactoryConfigUtils.ts +++ b/packages/r3f/src/editableFactoryConfigUtils.ts @@ -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 = { parse: (props: Record) => T apply: (value: T, object: any) => void - type: IShorthandCompoundProps + type: UnknownShorthandCompoundProps } type Props = Record> type Meta = { diff --git a/theatre/core/src/index.ts b/theatre/core/src/index.ts index 5b36ad2..c4521f9 100644 --- a/theatre/core/src/index.ts +++ b/theatre/core/src/index.ts @@ -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' diff --git a/theatre/core/src/propTypes/index.ts b/theatre/core/src/propTypes/index.ts index cb36c64..d152388 100644 --- a/theatre/core/src/propTypes/index.ts +++ b/theatre/core/src/propTypes/index.ts @@ -728,4 +728,4 @@ export type PropTypeConfig = | PropTypeConfig_Compound<$IntentionalAny> | PropTypeConfig_Enum -export type {IShorthandCompoundProps} +export type {UnknownShorthandCompoundProps}