diff --git a/packages/primevue/src/knob/Knob.d.ts b/packages/primevue/src/knob/Knob.d.ts index 29dc85fd6..e8627103b 100644 --- a/packages/primevue/src/knob/Knob.d.ts +++ b/packages/primevue/src/knob/Knob.d.ts @@ -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