1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-06 23:51:28 +01:00

[UIF] fix toast title type (#13098)

This commit is contained in:
Will Martin 2025-01-30 16:20:41 -05:00 committed by GitHub
parent e48278e272
commit f17cb61183
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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