storybook/addons/centered/angular.d.ts
Norbert de Langen c1d2ba6449 WIP
2019-03-20 16:55:38 +01:00

23 lines
499 B
TypeScript

// tslint:disable-next-line:no-implicit-dependencies
export interface ICollection {
[p: string]: any;
}
export interface NgModuleMetadata {
declarations?: any[];
entryComponents?: any[];
imports?: any[];
schemas?: any[];
providers?: any[];
}
export interface IStory {
props?: ICollection;
moduleMetadata?: Partial<NgModuleMetadata>;
component?: any;
template?: string;
}
declare module '@storybook/addon-centered/angular' {
export function centered(story: IStory): IStory;
}