UNPKG

650 BTypeScriptView Raw
1export interface PluginOption {
2 name: string;
3 package: string;
4 value: string;
5 pathInRepo: string;
6 available(tags: Tags[]): boolean;
7 shouldBeSelected(tags: Tags[]): boolean;
8 defaultExtension: string;
9}
10export interface Answers {
11 targets: Tags[];
12 config: string;
13 plugins: PluginOption[];
14 schema: string;
15 documents?: string;
16 output: string;
17 script: string;
18 introspection: boolean;
19}
20export declare enum Tags {
21 browser = "Browser",
22 node = "Node",
23 typescript = "TypeScript",
24 flow = "Flow",
25 angular = "Angular",
26 stencil = "Stencil",
27 react = "React",
28 vue = "Vue"
29}