Skip to content

Commit

Permalink
Update Typescript Definition File closes storybookjs#632
Browse files Browse the repository at this point in the history
This adds the `addDecorator` exported function to the definitions.
  • Loading branch information
wmonk authored Nov 30, 2016
1 parent 8372a0f commit 66813aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/storybook.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ interface Story {
addDecorator (decorator: StoryDecorator): Story;
}

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

0 comments on commit 66813aa

Please sign in to comment.