refactor(components): unite syntax for emits declaration (#4512)

This commit is contained in:
J-Michalek
2025-07-14 10:46:47 +02:00
committed by GitHub
parent 488707e148
commit 6f2ce5c610
7 changed files with 15 additions and 15 deletions

View File

@@ -55,9 +55,9 @@ export interface TextareaProps<T extends TextareaValue = TextareaValue> extends
}
export interface TextareaEmits<T extends TextareaValue = TextareaValue> {
(e: 'update:modelValue', payload: T): void
(e: 'blur', event: FocusEvent): void
(e: 'change', event: Event): void
'update:modelValue': [payload: T]
'blur': [event: FocusEvent]
'change': [event: Event]
}
export interface TextareaSlots {