-
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 issuecheckJsRelates to checking JavaScript using TypeScriptRelates to checking JavaScript using TypeScript
Milestone
Description
- VSCode Version: 1.31.1
- OS Version: win10 family
Steps to Reproduce:
test.js
import axios from 'axios' // Import declaration conflicts with local declaration of 'axios'.ts(2440)
axios.defaults.timeout = 22
In js file, the second line causes an error showing on first line.
But if this two lines are in ts file (change file suffix to ts), there is no error.
Does this issue occur when all extensions are disabled?: Yes
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 issuecheckJsRelates to checking JavaScript using TypeScriptRelates to checking JavaScript using TypeScript