From f17cb61183c641e2f164f3aac72deefe047c7cf9 Mon Sep 17 00:00:00 2001 From: Will Martin Date: Thu, 30 Jan 2025 16:20:41 -0500 Subject: [PATCH] [UIF] fix toast title type (#13098) --- libs/components/src/toast/toast.component.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/components/src/toast/toast.component.ts b/libs/components/src/toast/toast.component.ts index 14fd5a7c62..bbf0291f18 100644 --- a/libs/components/src/toast/toast.component.ts +++ b/libs/components/src/toast/toast.component.ts @@ -1,5 +1,3 @@ -// FIXME: Update this file to be type safe and remove this and next line -// @ts-strict-ignore import { Component, EventEmitter, Input, Output } from "@angular/core"; import { IconButtonModule } from "../icon-button"; @@ -42,10 +40,10 @@ export class ToastComponent { * Pass an array to render multiple paragraphs. **/ @Input({ required: true }) - message: string | string[]; + message!: string | string[]; /** An optional title to display over the message. */ - @Input() title: string; + @Input() title?: string; /** * The percent width of the progress bar, from 0-100