serviceWorker unresolved variable
when i try to code my sw i get an error right at the start with
navigator.serviceWorker.register('./ServiceWorker.js')
where the serviceWorker is a unresolved varaiable how do i fix this ?
Please sign in to leave a comment.
Please try 2017.3 EAP (https://confluence.jetbrains.com/display/WI/WebStorm+EAP) - it's not an issue there, as it bundles Typescript stubs for most popular JavaScript APIs: