[CST-5270] add string type to attribute declaration

This commit is contained in:
Giuseppe Digilio
2022-04-27 17:20:26 +02:00
parent f9d55dc3e8
commit e307c5de9f

View File

@@ -33,7 +33,7 @@ export class AlertComponent {
/** /**
* The alert type * The alert type
*/ */
@Input() type: AlertType; @Input() type: AlertType|string;
/** /**
* An event fired when alert is dismissed. * An event fired when alert is dismissed.