stitches icon indicating copy to clipboard operation
stitches copied to clipboard

Stricter experience type error with utility functions

Open alii opened this issue 4 years ago • 1 comments

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

image

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

alii avatar Oct 12 '21 14:10 alii

I'm facing the same issue. I had logged in https://github.com/stitchesjs/stitches/issues/1077

csantos1113 avatar Sep 01 '22 14:09 csantos1113