-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: Version: 1.60.0
- OS Version: OS: Darwin x64 20.6.0
Steps to Reproduce:
- Open any
.tsx
file. - type in
useEffect | useRef | useState
- Click the autocomplete value.
The usual import path is @types/react/index.d.ts
. It's now importing it from the file @types/react-transition-group/node_modules/@types/react/index
. The @types/react
option isn't event shown.
Another thing I noticed is the path is displayed as styled-jsx/node_modules/@types/react
but when I click into this file it takes me to @types/react-transition-group/node_modules/@types/react/index
, which has nothing to do with styled-jsx from what I can tell.
This is such a weird issue. It was working yesterday, but now it suddenly popped out of nowhere. Any help is much appreciated.
danieldt232, varevarao, HaveSpacesuit, aghoneim92, callmeberzerker and 10 more
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 issue