From 1bc5368ea0ae8ead0c97f406b3056af527cc59af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=A1ko=20Hevery?= Date: Wed, 1 Feb 2017 11:46:57 -0800 Subject: [PATCH] fix: closure compiler warning (#14229) PR Close #14229 --- modules/@angular/core/src/application_ref.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@angular/core/src/application_ref.ts b/modules/@angular/core/src/application_ref.ts index 13c0e98425..c5e12e4f86 100644 --- a/modules/@angular/core/src/application_ref.ts +++ b/modules/@angular/core/src/application_ref.ts @@ -310,7 +310,7 @@ export class PlatformRef_ extends PlatformRef { private _bootstrapModuleWithZone( moduleType: Type, compilerOptions: CompilerOptions|CompilerOptions[] = [], - ngZone: NgZone): Promise> { + ngZone: NgZone = null): Promise> { const compilerFactory: CompilerFactory = this.injector.get(CompilerFactory); const compiler = compilerFactory.createCompiler( Array.isArray(compilerOptions) ? compilerOptions : [compilerOptions]);