Skip to content

Commit

Permalink
Fix type mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed May 16, 2024
1 parent cb0ff69 commit 9e76231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/button/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9e76231

Please sign in to comment.