Skip to content

Commit

Permalink
fix(runtime-core): type ExposedKeys removed defined properties on com…
Browse files Browse the repository at this point in the history
…ponent instace
  • Loading branch information
akotulu committed Jan 13, 2025
1 parent f399dd3 commit 980cd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/componentPublicInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export type CreateComponentPublicInstanceWithMixins<
export type ExposedKeys<
T,
Exposed extends string & keyof T,
> = '' extends Exposed ? T : Pick<T, Exposed>
> = Exposed extends string ? T : Pick<T, Exposed>

// public properties exposed on the proxy, which is used as the render context
// in templates (as `this` in the render option)
Expand Down

0 comments on commit 980cd03

Please sign in to comment.