UNPKG

@nestjs/cli

Version:

Nest - modern, fast, powerful node.js web framework (@cli)

23 lines (22 loc) 1.09 kB
import { Configuration } from '../configuration'; import { BaseCompiler } from './base-compiler'; import { TsConfigProvider } from './helpers/tsconfig-provider'; import { PluginsLoader } from './plugins/plugins-loader'; import { TypeScriptBinaryLoader } from './typescript-loader'; type TypescriptWatchCompilerExtras = { /** * If `undefined`, the value of 'preserveWatchOutput' option from tsconfig * file will be used instead. */ preserveWatchOutput: boolean | undefined; }; export declare class WatchCompiler extends BaseCompiler<TypescriptWatchCompilerExtras> { private readonly tsConfigProvider; private readonly typescriptLoader; constructor(pluginsLoader: PluginsLoader, tsConfigProvider: TsConfigProvider, typescriptLoader: TypeScriptBinaryLoader); run(configuration: Required<Configuration>, tsConfigPath: string, appName: string | undefined, extras: TypescriptWatchCompilerExtras, onSuccess?: () => void): void; private overrideCreateProgramFn; private createDiagnosticReporter; private createWatchStatusChanged; } export {};