1 | import { BroccoliPlugin } from "./helpers";
|
2 | import { TypescriptCompilerOptions } from "./interfaces";
|
3 | /**
|
4 | * Returns a Broccoli plugin instance that compiles
|
5 | * the files in the tsconfig.
|
6 | *
|
7 | * It is rooted to the inputNode's outputPath, all
|
8 | * files it imports must be resolvable from its input
|
9 | * except for the default library file.
|
10 | *
|
11 | * Errors are logged and it will try to emit whatever
|
12 | * it could successfully compile.
|
13 | *
|
14 | * It will only emit based on the root source files
|
15 | * you give it, by default it will look for all .ts
|
16 | * files, but if you specify a files or filesGlob
|
17 | * it will these as entry points and only compile
|
18 | * the files and files they reference from the input.
|
19 | */
|
20 | export declare function typescript(inputNode: any, options?: TypescriptCompilerOptions): TypescriptCompiler;
|
21 | /**
|
22 | * TypeScript Broccoli plugin class.
|
23 | */
|
24 | export declare class TypescriptCompiler extends BroccoliPlugin {
|
25 | private compiler;
|
26 | private diagnosticHandler;
|
27 | private options;
|
28 | constructor(inputNode: any, options?: TypescriptCompilerOptions);
|
29 | build(): void;
|
30 | setDiagnosticWriter(write: (message: string) => void): void;
|
31 | }
|