From 5f95bf1dd2dbcaece3a4f81bb0004a3a5403bcfa Mon Sep 17 00:00:00 2001 From: Michael George Attard Date: Sat, 15 Oct 2016 22:49:54 +0200 Subject: [PATCH] refactor(common): remove redundant type --- modules/@angular/common/src/directives/ng_if.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@angular/common/src/directives/ng_if.ts b/modules/@angular/common/src/directives/ng_if.ts index 4d24b74e85..9e228cdd28 100644 --- a/modules/@angular/common/src/directives/ng_if.ts +++ b/modules/@angular/common/src/directives/ng_if.ts @@ -34,7 +34,7 @@ import {Directive, Input, TemplateRef, ViewContainerRef} from '@angular/core'; */ @Directive({selector: '[ngIf]'}) export class NgIf { - private _hasView: boolean = false; + private _hasView = false; constructor(private _viewContainer: ViewContainerRef, private _template: TemplateRef) {}