-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typescript autocomplete broken with latest typescript version (4.4.2) #759
Comments
As you can see on the bottom right of the VSCode window, VSCode is using typescript version 4.3.5 which is working as expected please test with latest stable version 4.4.2 or later. You can change IDE typescript versions by just clicking on the version number in the status bar of the window. |
@dhushyanth-s ah, yep, you're right. Thank you for the heads up! I am able to replicate this issue now. |
Typescript 4.4 added control flow analysis, maybe this change is causing the issue? Also even in Typescript 4.4.2, the autocomplete works when defining utils inside createStitches: Hope this is useful for the bugfix |
Hi! This has been released to Stitches v1.1.0
|
Wow that was quick! |
Bug report
The autocomplete is broken for the
styled
function with typescript versions ^4.4.2 which is the latest stable version.To Reproduce
Expected behavior
All css attributes should be shown in autocomplete menu
Screenshots
with TS compiler version 4.4.2
with TS version 4.3.5 (from stitches repo
package.json
file)System information
Additional context
The text was updated successfully, but these errors were encountered: