Skip to content

Commit ebe60a6

Browse files
committed
fix(runtime): correct expose types for VaporComponentInstance
1 parent a34b23c commit ebe60a6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/runtime/src/vue.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,8 @@ export declare class VaporComponentInstance<
9090
emitted: Record<string, boolean> | null
9191
expose: (<T extends Record<string, any> = Exposed>(exposed: T) => void) &
9292
string[]
93-
exposed: Record<string, any> extends Exposed ? Exposed | null : Exposed
94-
exposeProxy: Record<string, any> extends Exposed
95-
? Exposed | null
96-
: ShallowUnwrapRef<Exposed>
93+
exposed: Exposed | null
94+
exposeProxy: ShallowUnwrapRef<Exposed> | null
9795
refs: TypeRefs
9896
provides: Record<string, any>
9997
ids: [string, number, number]

0 commit comments

Comments
 (0)