Skip to content

Commit ca338a1

Browse files
wmonkarunoda
authored andcommitted
Update Typescript Definition File closes #632 (#634)
This adds the `addDecorator` exported function to the definitions.
1 parent 8372a0f commit ca338a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config/storybook.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ interface Story {
99
addDecorator (decorator: StoryDecorator): Story;
1010
}
1111

12+
export function addDecorator(decorator: StoryDecorator): void;
1213
export function linkTo(name: string, ...params: any[]): void;
1314
export function storiesOf(name: string, module: any): Story;
1415
export function action(name: string, ...params: any[]): any;

0 commit comments

Comments
 (0)