mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-15 22:40:21 +00:00
Fix return type of @storybook/addon-knobs/radios
`radios` picks value from property values of `options` or default value `value`. So return type should be consistent with them.
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ export function color(name: string, value: string, groupId?: string): string;
|
||||
|
||||
export function object<T>(name: string, value: T, groupId?: string): T;
|
||||
|
||||
export function radios<T>(name: string, options: { [s: string]: T }, value?: T, groupId?: string): string;
|
||||
export function radios<T>(name: string, options: { [s: string]: T }, value?: T, groupId?: string): T;
|
||||
|
||||
export function select<T>(name: string, options: { [s: string]: T }, value: T, groupId?: string): T;
|
||||
export function select<
|
||||
|
||||
Reference in New Issue
Block a user