fix: define empty props in slots for nuxt-component-meta parsing

This commit is contained in:
Benjamin Canac
2024-06-28 11:45:14 +02:00
parent 84d814f88b
commit 369e0b1952
28 changed files with 62 additions and 62 deletions

View File

@@ -36,7 +36,7 @@ export interface RadioGroupEmits extends RadioGroupRootEmits {}
type SlotProps<T> = (props: { item: T, modelValue?: string }) => any
export interface RadioGroupSlots<T> {
legend(): any
legend(props?: any): any
label: SlotProps<T>
description: SlotProps<T>
}