Skip to content

Commit 7f65ebb

Browse files
committed
fix(component-type-helpers): remove deprecated $scopedSlots support for Vue 2
1 parent 5a35d2a commit 7f65ebb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/component-type-helpers/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export type ComponentProps<T> = T extends new(...args: any) => { $props: infer P
77
: {};
88

99
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
1110
: T extends (props: any, ctx: { slots: infer S; attrs: any; emit: any }, ...args: any) => any ? NonNullable<S>
1211
: {};
1312

0 commit comments

Comments
 (0)