From 9d277025dc0e9d8d6a22acd733fca58fd4a5090c Mon Sep 17 00:00:00 2001 From: Davide Mininni Date: Fri, 26 Jan 2024 10:21:14 +0100 Subject: [PATCH] fix: lint --- src/components/notification/notification.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/notification/notification.ts b/src/components/notification/notification.ts index d7bff210a63..1d8da1573a9 100644 --- a/src/components/notification/notification.ts +++ b/src/components/notification/notification.ts @@ -143,7 +143,7 @@ export class SbbNotificationElement extends LitElement { this._setNotificationHeight(); this._open(); this.shadowRoot - .querySelector('.sbb-notification') + ?.querySelector('.sbb-notification')! .setAttribute('role', this.getAttribute('role') ?? 'status'); }