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
The autocomplete is broken for the styled function with typescript versions ^4.4.2 which is the latest stable version.
To Reproduce
Create a new react app with typescript
npx create-react-app --template typescript
Add stitches to dependencies
npm i @stitches/react
Import stitches with
import{styled}from'@stitches/react'
Try invoking autocomplete for css attributes.
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
OS: macOS Big Sur 11.4 on M1 Macbook Pro
Version of Stitches: 1.0.0
Version of Node.js: v16.5.0
Additional context
VSCode version: 1.60.0
The text was updated successfully, but these errors were encountered:
dhushyanth-s
changed the title
Typescript autocomplete broken with lateste typescript version (4.4.2)
Typescript autocomplete broken with latest typescript version (4.4.2)
Sep 5, 2021
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.
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: