UNPKG

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