We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a35d2a commit 7f65ebbCopy full SHA for 7f65ebb
packages/component-type-helpers/index.ts
@@ -7,7 +7,6 @@ export type ComponentProps<T> = T extends new(...args: any) => { $props: infer P
7
: {};
8
9
export type ComponentSlots<T> = T extends new(...args: any) => { $slots: infer S } ? NonNullable<S>
10
- : T extends new(...args: any) => { $scopedSlots: infer S } ? NonNullable<S> // Vue 2
11
: T extends (props: any, ctx: { slots: infer S; attrs: any; emit: any }, ...args: any) => any ? NonNullable<S>
12
13
0 commit comments