angular2
Version:
Angular 2 - a web framework for modern web apps
23 lines (22 loc) • 748 B
TypeScript
export declare function moduleRef(moduleUrl: any): string;
export declare class SourceModule {
moduleUrl: string;
sourceWithModuleRefs: string;
constructor(moduleUrl: string, sourceWithModuleRefs: string);
getSourceWithImports(): SourceWithImports;
}
export declare class SourceExpression {
declarations: string[];
expression: string;
constructor(declarations: string[], expression: string);
}
export declare class SourceExpressions {
declarations: string[];
expressions: string[];
constructor(declarations: string[], expressions: string[]);
}
export declare class SourceWithImports {
source: string;
imports: string[][];
constructor(source: string, imports: string[][]);
}