Skip to content

Commit

Permalink
fix(types): add volar compatible slot types
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Feb 28, 2023
1 parent 04184b2 commit 0fbdd0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vuetify/src/util/defineComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export type SlotsToProps<T extends Record<string, any>> = T extends Record<strin
| (keyof T extends 'default' ? T['default'] : {})
| { [K in keyof T]?: T[K] }
)
$slots?: { [K in keyof T]?: T[K] }
'v-slots'?: { [K in keyof T]?: T[K] | false }
} & {
[K in keyof T as `v-slot:${K & string}`]?: T[K] | false
Expand Down

0 comments on commit 0fbdd0c

Please sign in to comment.