UNPKG

643 BTypeScriptView Raw
1import * as ts from "typescript";
2import { TransformOperation } from "@ngtools/webpack/src/transformers";
3import { AngularCompilerPlugin } from "@ngtools/webpack";
4export declare function nsSupportHmrNg(getNgCompiler: () => AngularCompilerPlugin, entryPath: string): ts.TransformerFactory<ts.SourceFile>;
5export declare function handleHmrSupport(mainFile: ts.SourceFile): TransformOperation[];
6export declare const GeneratedDynamicAppOptions = "options_Generated";
7export declare function getHmrOptionsCode(appModuleName: string, appModulePath: string): string;
8export declare function getAcceptMainModuleCode(mainModulePath: string): string;