Skip to content

Commit

Permalink
fix: api types for external usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Nov 10, 2021
1 parent bb5c60b commit 838f1f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/api/src/api/app.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
export type App = Record<string, any> & {
__app: true // for type checking
} // @TODO
export type App = any // @TODO
4 changes: 1 addition & 3 deletions packages/api/src/api/component.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { InspectorNodeTag } from './api'
import { ID } from './util'

export type ComponentInstance = Record<string, any> & {
__component: true // for type checking
} // @TODO
export type ComponentInstance = any // @TODO

export interface ComponentTreeNode {
uid: ID
Expand Down

0 comments on commit 838f1f2

Please sign in to comment.