UNPKG

833 BTypeScriptView Raw
1export interface NgModuleMetadata {
2 declarations?: any[];
3 entryComponents?: any[];
4 imports?: any[];
5 schemas?: any[];
6 providers?: any[];
7}
8export interface ICollection {
9 [p: string]: any;
10}
11export interface IStorybookStory {
12 name: string;
13 render: (context: any) => any;
14}
15export interface IStorybookSection {
16 kind: string;
17 stories: IStorybookStory[];
18}
19export interface StoryFnAngularReturnType {
20 /** @deprecated `component` story input is deprecated, and will be removed in Storybook 7.0. */
21 component?: any;
22 props?: ICollection;
23 /** @deprecated `propsMeta` story input is deprecated, and will be removed in Storybook 7.0. */
24 propsMeta?: ICollection;
25 moduleMetadata?: NgModuleMetadata;
26 template?: string;
27 styles?: string[];
28 userDefinedTemplate?: boolean;
29}