Skip to content

Commit

Permalink
fix(alert): dismissibleChange emits boolean values (#1896)
Browse files Browse the repository at this point in the history
`dismissibleChange` is used with `.subscribe((dismissible: boolean) => { ... })` but declared as `EventEmitter<string>`
  • Loading branch information
dherges authored and valorkin committed Apr 25, 2017
1 parent 5c4c779 commit 10bfd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alert/alert.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class AlertComponent implements OnInit {

public isClosed: boolean = false;
public classes: string = '';
public dismissibleChange: EventEmitter<string> = new EventEmitter();
public dismissibleChange: EventEmitter<boolean> = new EventEmitter<boolean>();

public constructor(_config: AlertConfig) {
Object.assign(this, _config);
Expand Down

0 comments on commit 10bfd7f

Please sign in to comment.