feat(linker): Allow configurable module prefixes and suffixes. (#11049)

This commit is contained in:
Alex Rickabaugh
2016-08-24 16:54:42 -07:00
committed by Victor Berchet
parent bd510ccdbb
commit 8b782818f5
4 changed files with 102 additions and 9 deletions

View File

@ -1158,10 +1158,16 @@ export declare function style(tokens: string | {
/** @experimental */
export declare class SystemJsNgModuleLoader implements NgModuleFactoryLoader {
constructor(_compiler: Compiler);
constructor(_compiler: Compiler, config?: SystemJsNgModuleLoaderConfig);
load(path: string): Promise<NgModuleFactory<any>>;
}
/** @experimental */
export declare abstract class SystemJsNgModuleLoaderConfig {
factoryPathPrefix: string;
factoryPathSuffix: string;
}
/** @stable */
export declare abstract class TemplateRef<C> {
elementRef: ElementRef;