From 10bfd7fa4e5065992b14889c0c5b3eaa0016cc54 Mon Sep 17 00:00:00 2001 From: David Herges Date: Tue, 25 Apr 2017 13:35:58 +0200 Subject: [PATCH] fix(alert): dismissibleChange emits boolean values (#1896) `dismissibleChange` is used with `.subscribe((dismissible: boolean) => { ... })` but declared as `EventEmitter` --- src/alert/alert.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alert/alert.component.ts b/src/alert/alert.component.ts index 5d0ecdf01e..535a77cb30 100644 --- a/src/alert/alert.component.ts +++ b/src/alert/alert.component.ts @@ -34,7 +34,7 @@ export class AlertComponent implements OnInit { public isClosed: boolean = false; public classes: string = ''; - public dismissibleChange: EventEmitter = new EventEmitter(); + public dismissibleChange: EventEmitter = new EventEmitter(); public constructor(_config: AlertConfig) { Object.assign(this, _config);