Skip to content

Commit 10bfd7f

Browse files
dhergesvalorkin
authored andcommitted
fix(alert): dismissibleChange emits boolean values (#1896)
`dismissibleChange` is used with `.subscribe((dismissible: boolean) => { ... })` but declared as `EventEmitter<string>`
1 parent 5c4c779 commit 10bfd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/alert/alert.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class AlertComponent implements OnInit {
3434

3535
public isClosed: boolean = false;
3636
public classes: string = '';
37-
public dismissibleChange: EventEmitter<string> = new EventEmitter();
37+
public dismissibleChange: EventEmitter<boolean> = new EventEmitter<boolean>();
3838

3939
public constructor(_config: AlertConfig) {
4040
Object.assign(this, _config);

0 commit comments

Comments
 (0)