Merge pull request #6842 from StealthC/master
Knob (Typescript): Fix valueTemplate prop type definitionpull/6855/head
commit
69a71b6c06
|
@ -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