Summary
How can I fix this typescript issue? I'm getting this error in the code below:
if ( typeof window !== "undefined" && "serviceWorker" in navigator && window.workbox !== undefined )
Property 'workbox' does not exist on type 'Window & typeof globalThis'.ts(2339)
Versions
next-pwa: ^5.6.0
next: 13.5.6