You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
functionconvertInputType(mouse: boolean,touch: boolean): "mouse"|"touch"|null{const{DocumentTouch, matchMedia, navigator}=window;// rest of the code}
which gets transpiled to:
functionconvertInputType(mouse,touch){varDocumentTouch=win.DocumentTouch,matchMedia=win.matchMedia,navigator=win.navigator;// rest of the code}
Both of these define a local variable with the name of navigator inside the function.
For some reason, the plugin seems to think that this overrides the global navigator object and stops reporting any compatibility issues related to navigator in the entire project.
The text was updated successfully, but these errors were encountered:
There happens to be this code in billboard.js:
which gets transpiled to:
Both of these define a local variable with the name of
navigator
inside the function.For some reason, the plugin seems to think that this overrides the global
navigator
object and stops reporting any compatibility issues related tonavigator
in the entire project.The text was updated successfully, but these errors were encountered: