Satisfy ESLint after merge
authorTim Düsterhus <duesterhus@woltlab.com>
Wed, 2 Aug 2023 08:58:11 +0000 (10:58 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Wed, 2 Aug 2023 08:58:11 +0000 (10:58 +0200)
ts/WoltLabSuite/Core/Conversation/Ui/MarkAsRead.ts

index 8bc6e3d97dbfd4f610cfbf0d4bde7c81cda39227..bf2e02cfc259b072f3fbcc1313ca4a7927209cb5 100644 (file)
@@ -30,7 +30,7 @@ export function setup(): void {
         (event) => {
           event.preventDefault();
 
-          const conversation = el.closest(".conversation") as HTMLElement;
+          const conversation = el.closest<HTMLElement>(".conversation")!;
           if (!conversation.classList.contains("new")) {
             return;
           }