From: Dessalines Date: Sun, 24 Jan 2021 18:59:50 +0000 (-0500) Subject: Fixing service worker lint. X-Git-Url: http://these/git/%22https:/image.com/static/git-logo.png?a=commitdiff_plain;h=d91587957fa27a78c3bed33c8f8597225d011fa3;p=lemmy-ui.git Fixing service worker lint. --- diff --git a/src/service-worker.ts b/src/service-worker.ts index a7e1bd5..15c15fc 100644 --- a/src/service-worker.ts +++ b/src/service-worker.ts @@ -2,19 +2,19 @@ import { register } from 'register-service-worker'; register('/service-worker.js', { registrationOptions: { scope: './' }, - ready(registration) { + ready(_registration) { console.log('Service worker is active.'); }, - registered(registration) { + registered(_registration) { console.log('Service worker has been registered.'); }, - cached(registration) { + cached(_registration) { console.log('Content has been cached for offline use.'); }, - updatefound(registration) { + updatefound(_registration) { console.log('New content is downloading.'); }, - updated(registration) { + updated(_registration) { console.log('New content is available; please refresh.'); }, offline() {