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
I'm upgrading an application to Angular 18 and the new build system throws a warning:
▲ [WARNING] Suspicious use of the "!" operator inside the "instanceof" operator [suspicious-boolean-not]
src/my-application/app/vendor/zing-touch/zingtouch.min.js:893:14:
893 │ if (!t instanceof u) throw new Error("Parameter gesture...
│ ~~
╵ (!t)
The code "!x instanceof y" is parsed as "(!x) instanceof y". You need to insert parentheses to get "!(x instanceof y)" instead.
It doesn't look like a big deal, but the fix looks pretty simple.
This is with the latest zingtouch.min.js from the dist directory.
The text was updated successfully, but these errors were encountered:
I'm upgrading an application to Angular 18 and the new build system throws a warning:
It doesn't look like a big deal, but the fix looks pretty simple.
This is with the latest
zingtouch.min.js
from thedist
directory.The text was updated successfully, but these errors were encountered: