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
I'm not able to make a reproducible example. I tried by following these steps:
Copy affected project
Delete components, tests, pages, utils, types, etc. until the issue went away
Seemingly at random the typescript features started working while I was removing some JSX from a component. Then I hit CMD-Z a few times to undo the change, and the features continued to work.
Other things I've tried:
Deleted typescript cache from ~/Library/Caches
Deleted VS Code and reinstalled
Installed insider version (same issue)
Update typescript (both globally and locally to 3.4.2)
Does this issue occur when all extensions are disabled?: Yes
And here's a screenshot of what I see when I hover over a variable in a .tsx file:
The code in that screenshot should be covered in red squiggles because there's a bunch of type errors in it, but nothing is being picked up by VS Code. The "loading..." tooltip never goes away regardless of how long I leave the cursor.
And the VS Code output tab for TS doesn't show any issues:
[Info - 12:00:47 PM] Using tsserver from: /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib
[Info - 12:00:47 PM] Forking TSServer
[Info - 12:00:47 PM] Started TSServer
The text was updated successfully, but these errors were encountered:
Do you see this with all projects or just this one?
Have you installed any @types packages in your project? We've pushed a few fixes to the styled components typings but you could still be working with older versions of them
Does downgrading your workspace to use TypeScript 3.3 fix the issue?
Steps to Reproduce:
I'm not able to make a reproducible example. I tried by following these steps:
Seemingly at random the typescript features started working while I was removing some JSX from a component. Then I hit CMD-Z a few times to undo the change, and the features continued to work.
Other things I've tried:
~/Library/Caches
3.4.2
)Here is my
tsconfig.json
Does this issue occur when all extensions are disabled?: Yes
And here's a screenshot of what I see when I hover over a variable in a
.tsx
file:The code in that screenshot should be covered in red squiggles because there's a bunch of type errors in it, but nothing is being picked up by VS Code. The "loading..." tooltip never goes away regardless of how long I leave the cursor.
And the VS Code output tab for TS doesn't show any issues:
The text was updated successfully, but these errors were encountered: