From 9e7623177660c215e59f7b673c6901a7b42af17d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Thu, 16 May 2024 11:19:56 +0300 Subject: [PATCH] Fix type mismatch --- src/app/components/button/button.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/components/button/button.ts b/src/app/components/button/button.ts index c8d8e45256b..8e3b45b71c3 100755 --- a/src/app/components/button/button.ts +++ b/src/app/components/button/button.ts @@ -61,7 +61,7 @@ export class ButtonDirective implements AfterViewInit, OnDestroy { * Text of the button. * @group Props */ - @Input() get label(): string { + @Input() get label(): string | undefined { return this._label as string; } set label(val: string) {