UNPKG

540 BTypeScriptView Raw
1import { StoryFn } from "@storybook/addons";
2
3export interface ICollection {
4 [p: string]: any;
5}
6
7export interface NgModuleMetadata {
8 declarations?: any[];
9 entryComponents?: any[];
10 imports?: any[];
11 schemas?: any[];
12 providers?: any[];
13}
14
15export interface IStory {
16 component?: any;
17 props?: ICollection;
18 propsMeta?: ICollection;
19 moduleMetadata?: NgModuleMetadata;
20 template?: string;
21 styles?: string[];
22}
23declare module '@storybook/addon-centered/angular' {
24 export function centered(story: StoryFn<IStory>): IStory;
25}