Commits

Giuseppe authored and GitHub committed 9d5aba74997
Update alert.component.ts

remove union type
No tags

src/app/shared/alert/alert.component.ts

Modified
26 26 @Input() content: string;
27 27
28 28 /**
29 29 * A boolean representing if alert is dismissible
30 30 */
31 31 @Input() dismissible = false;
32 32
33 33 /**
34 34 * The alert type
35 35 */
36 - @Input() type: AlertType|string;
36 + @Input() type: AlertType;
37 37
38 38 /**
39 39 * An event fired when alert is dismissed.
40 40 */
41 41 @Output() close: EventEmitter<any> = new EventEmitter<any>();
42 42
43 43 /**
44 44 * The initial animation name
45 45 */
46 46 public animate = 'fadeIn';

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut