stitches
stitches copied to clipboard
Stricter experience type error with utility functions
Bug report
Describe the bug
In short, there is a type error when trying to use the utility functions with a theme token.
To Reproduce
I have made a repo: https://github.com/alii/stitches-bug-repro
Expected behavior
There is no type error
Screenshots

System information
- OS: n/a, typescript issue
- Browser (if applies) n/a
- Version of Stitches: 1.2.5 (latest at time of writing)
- Version of Node.js: 16.10.0
Additional context
For those in the Modulz discord server, there's a little more conversation here: https://discord.com/channels/752614004387610674/752795957674115092/897312708452552706
I'm facing the same issue. I had logged in https://github.com/stitchesjs/stitches/issues/1077