Knob (Typescript): Fix valueTemplate prop type definition
parent
bd7161298a
commit
c1fad8c362
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue