Skip to content

Commit

Permalink
Merge pull request #6817 from RBedbur/tab-fix
Browse files Browse the repository at this point in the history
Tabs: @update:value parameter in function definition should be string…
  • Loading branch information
tugcekucukoglu authored Nov 21, 2024
2 parents 63bc055 + ff7d46e commit 6926ad5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/primevue/src/tabs/Tabs.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface TabsState {
/**
* Current active value state.
*/
d_value: number;
d_value: string | number;
/**
* Unique id for the Tabs component.
*/
Expand Down Expand Up @@ -159,9 +159,9 @@ export interface TabsSlots {
export interface TabsEmitsOptions {
/**
* 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>;
Expand Down

0 comments on commit 6926ad5

Please sign in to comment.