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
This is a TypeScript limitation (microsoft/TypeScript#18232) and there is no control Deno or Deno extension has over it. While Deno only deals with ES Modules, the TypeScript type checker will treat files without any imports or exports as conventional scripts, which means they share the same global namespace, just as if you used them as scripts in a browser.
I am not sure what the lint rule would be, and it only applies to editing code in an editor, as this won't occur on the CLI, because the CLI only deals with modules.
a.ts
b.ts
vscode shows now errors but this is invalid code as it's not imported.
The text was updated successfully, but these errors were encountered: