1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-13 15:03:26 +00:00

fix strict inputs

This commit is contained in:
William Martin
2025-07-02 10:41:39 -04:00
parent 81912cd06a
commit aa554063e9
3 changed files with 3 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ export class BadgeComponent implements FocusableElement {
/**
* Optional override for the automatic badge title when truncating.
*/
readonly title = input<string>(undefined);
readonly title = input<string>();
/**
* Variant, sets the background color of the badge.

View File

@@ -42,7 +42,7 @@ export class CopyClickDirective {
* When set, the toast displayed will show `<valueLabel> copied`
* instead of the default messaging.
*/
readonly valueLabel = input<string>(undefined);
readonly valueLabel = input<string>();
/**
* When set without a value, a success toast will be shown when the value is copied

View File

@@ -30,7 +30,7 @@ export class ProgressComponent {
readonly bgColor = input<BackgroundType>("primary");
readonly showText = input(true);
readonly size = input<ProgressSizeType>("default");
readonly text = input<string>(undefined);
readonly text = input<string>();
get displayText() {
return this.showText() && this.size() !== "small";