fix: closure compiler warning (#14229)

PR Close #14229
This commit is contained in:
Miško Hevery 2017-02-01 11:46:57 -08:00
parent 093cc04748
commit 1bc5368ea0
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ export class PlatformRef_ extends PlatformRef {
private _bootstrapModuleWithZone<M>(
moduleType: Type<M>, compilerOptions: CompilerOptions|CompilerOptions[] = [],
ngZone: NgZone): Promise<NgModuleRef<M>> {
ngZone: NgZone = null): Promise<NgModuleRef<M>> {
const compilerFactory: CompilerFactory = this.injector.get(CompilerFactory);
const compiler = compilerFactory.createCompiler(
Array.isArray(compilerOptions) ? compilerOptions : [compilerOptions]);