Remove unnecessary tsdoc comments from service-worker.js (#6417)

Remove typescript comments form `service-worker.js`
This commit is contained in:
Sirz Benjie 2025-08-25 18:45:41 -05:00 committed by GitHub
parent 622ee5ce80
commit f0c24cd16e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,9 +1,7 @@
/// <reference lib = "WebWorker" />
self.addEventListener('install', function () { self.addEventListener('install', function () {
console.log('Service worker installing...'); console.log('Service worker installing...');
}); });
self.addEventListener('activate', (event) => { self.addEventListener('activate', (event) => {
// @ts-expect-error: See https://github.com/microsoft/TypeScript/issues/14877
event.waitUntil(self.clients.claim()); event.waitUntil(self.clients.claim());
}) })