diff --git a/projects/core/modules/notifications/notification-alert/Notification-alert.ts b/projects/core/modules/notifications/notification-alert/Notification-alert.ts index cdbc0cfa1e85..4f458bc9e645 100644 --- a/projects/core/modules/notifications/notification-alert/Notification-alert.ts +++ b/projects/core/modules/notifications/notification-alert/Notification-alert.ts @@ -9,17 +9,15 @@ import { } from '../notification-options'; export class NotificationAlert { - readonly status: TuiNotification | undefined; + readonly status?: TuiNotification; - readonly hasIcon: boolean | undefined; + readonly hasIcon?: boolean; - readonly autoClose: boolean | number | undefined; + readonly autoClose?: boolean | number; - readonly hasCloseButton: boolean | undefined; + readonly hasCloseButton?: boolean; - readonly label: - | PolymorpheusContent> - | undefined; + readonly label?: PolymorpheusContent>; readonly data!: I;