Update Typescript Definition File closes #632 (#634)

This adds the `addDecorator` exported function to the definitions.
This commit is contained in:
William Monk 2016-12-01 02:32:32 +00:00 committed by Arunoda Susiripala
parent 8372a0fc48
commit ca338a1af7

View File

@ -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;