-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issueFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
- VSCode Version: 1.32.3
- OS Version: Windows 10
Steps to Reproduce:
- Write
clearTimeout
- 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
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issueFixedA PR has been merged for this issueA PR has been merged for this issue