Skip to content

Commit 0fbdd0c

Browse files
committed
fix(types): add volar compatible slot types
1 parent 04184b2 commit 0fbdd0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vuetify/src/util/defineComponent.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export type SlotsToProps<T extends Record<string, any>> = T extends Record<strin
107107
| (keyof T extends 'default' ? T['default'] : {})
108108
| { [K in keyof T]?: T[K] }
109109
)
110+
$slots?: { [K in keyof T]?: T[K] }
110111
'v-slots'?: { [K in keyof T]?: T[K] | false }
111112
} & {
112113
[K in keyof T as `v-slot:${K & string}`]?: T[K] | false

0 commit comments

Comments
 (0)