Skip to content

Commit

Permalink
Merge pull request #6842 from StealthC/master
Browse files Browse the repository at this point in the history
Knob (Typescript): Fix valueTemplate prop type definition
  • Loading branch information
tugcekucukoglu authored Nov 25, 2024
2 parents bd71612 + c1fad8c commit 69a71b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primevue/src/knob/Knob.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export interface KnobProps {
* Template string of the value.
* @defaultValue '{value}'
*/
valueTemplate?: (val: number) => string | string | undefined;
valueTemplate?: ((val: number) => string) | string | undefined;
/**
* Index of the element in tabbing order.
* @defaultValue 0
Expand Down

0 comments on commit 69a71b6

Please sign in to comment.