Skip to content

Commit

Permalink
Updated the type definitions to reflect the module structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomitrescak committed May 5, 2016
1 parent fc5d7d1 commit ea35e47
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions config/storybook.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
declare var module: any; // dangerous

declare module "@kadira/storybook" {
interface Story {
add (storyName: string, callback: Function): Story;
}

export function storiesOf(name: string, module: any): Story;
export function action(name: string, ...params: any[]): Function;
interface Story {
add (storyName: string, callback: Function): Story;
}

export function storiesOf(name: string, module: any): Story;
export function action(name: string, ...params: any[]): Function;

0 comments on commit ea35e47

Please sign in to comment.