From 1ad737ad5e46bb46277f57e18bb77ac12f5b5880 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 29 Mar 2021 21:44:31 +0900 Subject: [PATCH] lint --- src/client/sw/sw.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/sw/sw.ts b/src/client/sw/sw.ts index 8ef081fdc0..f09a598f45 100644 --- a/src/client/sw/sw.ts +++ b/src/client/sw/sw.ts @@ -89,7 +89,7 @@ self.addEventListener('push', ev => { createEmptyNotification(); setTimeout(async () => { - for (const n of + for (const n of [ ...(await self.registration.getNotifications({ tag: 'user_visible_auto_notification' })), ...(await self.registration.getNotifications({ tag: 'read_notification' })) @@ -97,7 +97,7 @@ self.addEventListener('push', ev => { ) { n.close(); } - }, 500); + }, 500); })); }); //#endregion