Closed joseDaKing closed 2 years ago
Hi @joseDaKing in TS you can't extend type aliases. But, you can create your own interfaces that use csstype
and your design tokens. This is the approach used by styled-system and I did the same in my design system. Hope it helps.
How can I extend the types of the CSS property values so I can support typings for my design tokens ?