1 | import * as typescript from 'typescript';
|
2 | import * as webpack from 'webpack';
|
3 | import { LoaderOptions, TSInstance, WebpackError } from './interfaces';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | export declare function getTypeScriptInstance(loaderOptions: LoaderOptions, loader: webpack.loader.LoaderContext): {
|
12 | instance?: TSInstance;
|
13 | error?: WebpackError;
|
14 | };
|
15 | export declare function initializeInstance(loader: webpack.loader.LoaderContext, instance: TSInstance): void;
|
16 | export declare function reportTranspileErrors(instance: TSInstance, loader: webpack.loader.LoaderContext): void;
|
17 | export declare function buildSolutionReferences(instance: TSInstance, loader: webpack.loader.LoaderContext): void;
|
18 | export declare function forEachResolvedProjectReference<T>(resolvedProjectReferences: readonly (typescript.ResolvedProjectReference | undefined)[] | undefined, cb: (resolvedProjectReference: typescript.ResolvedProjectReference) => T | undefined): T | undefined;
|
19 | export declare function getOutputFileNames(instance: TSInstance, configFile: typescript.ParsedCommandLine, inputFileName: string): string[];
|
20 | export declare function getInputFileNameFromOutput(instance: TSInstance, filePath: string): string | undefined;
|
21 | export declare function getEmitFromWatchHost(instance: TSInstance, filePath?: string): typescript.OutputFile[] | undefined;
|
22 | export declare function getEmitOutput(instance: TSInstance, filePath: string): typescript.OutputFile[];
|
23 |
|
\ | No newline at end of file |