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
For example, globalThis.close() raises a type error. (window.close() does not raise a type error, but it does raise a lint error.)
globalThis.close();// deno-ts: Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature.window.close();// deno-lint: For compatibility between the Window context and the Web Workers, calling Web APIs via `window` is disallowed Instead, call this API via `self`, `globalThis`, or no extra prefix
I looked this up in the script below and it seems that I found some similar issues.
For example,
globalThis.close()
raises a type error. (window.close()
does not raise a type error, but it does raise a lint error.)I looked this up in the script below and it seems that I found some similar issues.
check.ts
output (tmp.ts)
output (info.txt)