1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 | import * as ts from 'typescript';
|
21 | import { CompilerOptions } from './transformers/api';
|
22 | export interface NgTools_InternalApi_NG2_CodeGen_Options {
|
23 | basePath: string;
|
24 | compilerOptions: ts.CompilerOptions;
|
25 | program: ts.Program;
|
26 | host: ts.CompilerHost;
|
27 | angularCompilerOptions: CompilerOptions;
|
28 | i18nFormat?: string;
|
29 | i18nFile?: string;
|
30 | locale?: string;
|
31 | missingTranslation?: string;
|
32 | readResource: (fileName: string) => Promise<string>;
|
33 | }
|
34 | export interface NgTools_InternalApi_NG2_ListLazyRoutes_Options {
|
35 | program: ts.Program;
|
36 | host: ts.CompilerHost;
|
37 | angularCompilerOptions: CompilerOptions;
|
38 | entryModule: string;
|
39 | }
|
40 | export interface NgTools_InternalApi_NG_2_LazyRouteMap {
|
41 | [route: string]: string;
|
42 | }
|
43 | export interface NgTools_InternalApi_NG2_ExtractI18n_Options {
|
44 | basePath: string;
|
45 | compilerOptions: ts.CompilerOptions;
|
46 | program: ts.Program;
|
47 | host: ts.CompilerHost;
|
48 | angularCompilerOptions: CompilerOptions;
|
49 | i18nFormat?: string;
|
50 | readResource: (fileName: string) => Promise<string>;
|
51 | locale?: string;
|
52 | outFile?: string;
|
53 | }
|