Add back 'null' as type #236
Replies: 1 comment 1 reply
-
Sorry! I don't have any plans to reintroduce |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
With V1 I'm aware that null is removed as a possible type with VariantProps. However, I would like to re-add it.
I set component variants in my headless CMS (payload), which also generates types for me. However, it adds null to non-required types.
null would not have to have any functionality in my case, just not raise errors.
Beta Was this translation helpful? Give feedback.
All reactions