Reusable styles function return type #103
Answered
by
roginfarrer
richbachman
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
roginfarrer
Feb 9, 2023
Replies: 1 comment 2 replies
-
I found something similar here in this issue, but what is |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You might try the new
satisfies
operator if your version of TS supports it.as const
may also work. I imagine TS is not inferring the value'unset'
literally, and instead just taking it asstring