UNPKG

439 BTypeScriptView Raw
1export interface TemplateConfig {
2 strategy: 'SINGLE_FILE' | 'MULTIPLE_FILES';
3 template?: string;
4 filesExtension?: string;
5 templates?: {
6 [key: string]: string;
7 };
8 primitives?: {
9 [key: string]: string;
10 };
11 basePath?: string;
12}
13export interface GeneratorTemplate {
14 language: string;
15 aliases: string[];
16 config?: TemplateConfig;
17}
18export declare const generators: GeneratorTemplate[];