clearTimeout is imported from timers · Issue #30713 · microsoft/TypeScript (original) (raw)

Steps to Reproduce:

  1. Write clearTimeout
  2. You get import { clearTimeout } from 'timers' imported without asking and error in the browser.

Reported here already:
microsoft/vscode#57822
microsoft/vscode#40001
microsoft/vscode#38911

Is it impossible for VS Code to know that I write code for a browser where these are available already, and should not import them?

Does this issue occur when all extensions are disabled?: Yes/No - no idea