From d91587957fa27a78c3bed33c8f8597225d011fa3 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 24 Jan 2021 13:59:50 -0500 Subject: [PATCH] Fixing service worker lint. --- src/service-worker.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/service-worker.ts b/src/service-worker.ts index a7e1bd52..15c15fc2 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() {