Merge pull request #6817 from RBedbur/tab-fix

Tabs: @update:value parameter in function definition should be string…
pull/6829/head
Tuğçe Küçükoğlu 2024-11-21 11:37:09 +03:00 committed by GitHub
commit 6926ad511a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -74,7 +74,7 @@ export interface TabsState {
/** /**
* Current active value state. * Current active value state.
*/ */
d_value: number; d_value: string | number;
/** /**
* Unique id for the Tabs component. * Unique id for the Tabs component.
*/ */
@ -159,9 +159,9 @@ export interface TabsSlots {
export interface TabsEmitsOptions { export interface TabsEmitsOptions {
/** /**
* Emitted when the value changes. * Emitted when the value changes.
* @param {string} value - Current value. * @param {string | number} value - Current value.
*/ */
'update:value'(value: number): void; 'update:value'(value: string | number): void;
} }
export declare type TabsEmits = EmitFn<TabsEmitsOptions>; export declare type TabsEmits = EmitFn<TabsEmitsOptions>;