@ -21,7 +21,9 @@ function unimplemented(): any {
|
||||
*/
|
||||
@Injectable()
|
||||
export class TestingCompiler extends Compiler {
|
||||
get injector(): Injector { throw unimplemented(); }
|
||||
get injector(): Injector {
|
||||
throw unimplemented();
|
||||
}
|
||||
overrideModule(module: Type<any>, overrides: MetadataOverride<NgModule>): void {
|
||||
throw unimplemented();
|
||||
}
|
||||
@ -38,20 +40,26 @@ export class TestingCompiler extends Compiler {
|
||||
* Allows to pass the compile summary from AOT compilation to the JIT compiler,
|
||||
* so that it can use the code generated by AOT.
|
||||
*/
|
||||
loadAotSummaries(summaries: () => any[]) { throw unimplemented(); }
|
||||
loadAotSummaries(summaries: () => any[]) {
|
||||
throw unimplemented();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the component factory for the given component.
|
||||
* This assumes that the component has been compiled before calling this call using
|
||||
* `compileModuleAndAllComponents*`.
|
||||
*/
|
||||
getComponentFactory<T>(component: Type<T>): ComponentFactory<T> { throw unimplemented(); }
|
||||
getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {
|
||||
throw unimplemented();
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the component type that is stored in the given error.
|
||||
* This can be used for errors created by compileModule...
|
||||
*/
|
||||
getComponentFromError(error: Error): Type<any>|null { throw unimplemented(); }
|
||||
getComponentFromError(error: Error): Type<any>|null {
|
||||
throw unimplemented();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user