mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-23 16:30:45 +01:00
refactor(components): unite syntax for emits declaration (#4512)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user