frontend: Update service-worker.ts to fix compilation issues.
frontend: Update service-worker.ts to fix compilation issues.

[Still no idea what I'm doing.]

jrupac/goliath,jrupac/goliath,jrupac/goliath,jrupac/goliath,jrupac/goliath