-
-
Notifications
You must be signed in to change notification settings - Fork 277
Open
Description
Description
When I used textDecorationStyle in combination with important:
textDecorationStyle: 'dotted !important',
or
textDecorationStyle: 'dotted!',
it throws a TS error:
Type '"dotted!"' is not assignable to type 'ConditionalValue<WithEscapeHatch<TextDecorationStyle | readonly NonNullable<TextDecorationStyle | undefined>[] | undefined>>'. Did you mean '"dotted"'?ts(2820)
At the same time, I'm allowed to use important style with other CSS properties:

Link to Reproduction
Steps to reproduce
- Use Panda CSS with TS
- Add textDecorationStyle property
- Use dotted !important or dotted! as a value
JS Framework
React (TS)
Panda CSS Version
1.7.0
Browser
No response
Operating System
- macOS
- Windows
- Linux
Additional Information
No response
Metadata
Metadata
Assignees
Labels
No labels