cssinjs / jss

JSS is an authoring tool for CSS which uses JavaScript as a host language.
https://cssinjs.org
MIT License
7.08k stars 399 forks source link

make auto-complete of createUseStyles value work #1454

Closed k-yle closed 3 years ago

k-yle commented 3 years ago

Corresponding issue (if exists):

Closes #1439, Closes #1452, Closes #806, possibly fixes #776

What would you like to add/fix?

Make auto-complete work for Typescript and/or VSCode users like in this screenshot:

image

This is not a breaking change. In the example above, folks can still type display: "dhgjdkfhg" and TS will accept it. This PR only makes auto-complete work. It deliberately doesn't add type-safety because that needs to wait for a semver-major release.

Todo

kof commented 3 years ago

merged, thank you