chore(InputMenu/Progress/SelectMenu): clean interfaces for syntax highlight

This commit is contained in:
Benjamin Canac
2024-09-24 12:41:42 +02:00
parent 09d453b5cf
commit 5e55e15ddf
3 changed files with 4 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ export type InputMenuEmits<T> = ComboboxRootEmits<T> & {
type SlotProps<T> = (props: { item: T, index: number }) => any
export type InputMenuSlots<T> = {
export interface InputMenuSlots<T> {
'leading'(props: { modelValue: T, open: boolean, ui: any }): any
'trailing'(props: { modelValue: T, open: boolean, ui: any }): any
'empty'(props: { searchTerm?: string }): any