From 838f1f235184e8371843e51f7548001d1d670149 Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Wed, 10 Nov 2021 17:36:05 +0100 Subject: [PATCH] fix: api types for external usage --- packages/api/src/api/app.ts | 4 +--- packages/api/src/api/component.ts | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/api/src/api/app.ts b/packages/api/src/api/app.ts index bdd6f1f81..9873b8c54 100644 --- a/packages/api/src/api/app.ts +++ b/packages/api/src/api/app.ts @@ -1,3 +1 @@ -export type App = Record & { - __app: true // for type checking -} // @TODO +export type App = any // @TODO diff --git a/packages/api/src/api/component.ts b/packages/api/src/api/component.ts index d7681a445..47202594e 100644 --- a/packages/api/src/api/component.ts +++ b/packages/api/src/api/component.ts @@ -1,9 +1,7 @@ import { InspectorNodeTag } from './api' import { ID } from './util' -export type ComponentInstance = Record & { - __component: true // for type checking -} // @TODO +export type ComponentInstance = any // @TODO export interface ComponentTreeNode { uid: ID