1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | import * as ts from 'typescript';
|
10 | import { CompilerOptions, Diagnostic } from './api';
|
11 | export declare const GENERATED_FILES: RegExp;
|
12 | export declare const DTS: RegExp;
|
13 | export declare const TS: RegExp;
|
14 | export declare const enum StructureIsReused {
|
15 | Not = 0,
|
16 | SafeModules = 1,
|
17 | Completely = 2
|
18 | }
|
19 | export declare function tsStructureIsReused(program: ts.Program): StructureIsReused;
|
20 | export declare function error(msg: string): never;
|
21 | export declare function userError(msg: string): never;
|
22 | export declare function createMessageDiagnostic(messageText: string): ts.Diagnostic & Diagnostic;
|
23 | export declare function isInRootDir(fileName: string, options: CompilerOptions): string | true | null;
|
24 | export declare function relativeToRootDirs(filePath: string, rootDirs: string[]): string;
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 | export declare function ngToTsDiagnostic(ng: Diagnostic): ts.Diagnostic;
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 | export declare function stripComment(commentText: string): string;
|