refactor(size): Use abstract keyword where possible to decrease file size. (#14112)

This commit is contained in:
Misko Hevery
2017-01-25 22:36:38 -08:00
committed by Miško Hevery
parent f7fba74c58
commit 670b680b0a
3 changed files with 15 additions and 18 deletions

View File

@ -204,10 +204,9 @@ export abstract class PlatformRef {
* ```
* @stable
*/
bootstrapModule<M>(moduleType: Type<M>, compilerOptions: CompilerOptions|CompilerOptions[] = []):
Promise<NgModuleRef<M>> {
throw unimplemented();
}
abstract bootstrapModule<M>(
moduleType: Type<M>,
compilerOptions?: CompilerOptions|CompilerOptions[]): Promise<NgModuleRef<M>>;
/**
* Register a listener to be called when the platform is disposed.