Merge pull request #6817 from RBedbur/tab-fix
Tabs: @update:value parameter in function definition should be string…pull/6829/head
commit
6926ad511a
|
@ -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>;
|
||||||
|
|
Loading…
Reference in New Issue