Skip to content

Commit

Permalink
fix(component-type-helpers): avoid tsc error
Browse files Browse the repository at this point in the history
close #3114
  • Loading branch information
johnsoncodehk committed May 3, 2023
1 parent d740ea0 commit eb3f4ab
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vue-component-type-helpers/index.d.ts
@@ -1,4 +1,6 @@
export default string;
declare const text: string;

export default text;

export type ComponentProps<T> =
T extends new () => { $props: infer P } ? NonNullable<P> :
Expand Down

0 comments on commit eb3f4ab

Please sign in to comment.