Skip to content

Commit 838f1f2

Browse files
committed
fix: api types for external usage
1 parent bb5c60b commit 838f1f2

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

packages/api/src/api/app.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
export type App = Record<string, any> & {
2-
__app: true // for type checking
3-
} // @TODO
1+
export type App = any // @TODO

packages/api/src/api/component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { InspectorNodeTag } from './api'
22
import { ID } from './util'
33

4-
export type ComponentInstance = Record<string, any> & {
5-
__component: true // for type checking
6-
} // @TODO
4+
export type ComponentInstance = any // @TODO
75

86
export interface ComponentTreeNode {
97
uid: ID

0 commit comments

Comments
 (0)