Closed schonert closed 1 year ago
I recently came around the custom properties typescript warning within JSX by adding a namespace key.
declare module 'csstype' { interface Properties { // Allow namespaced CSS Custom Properties [index: `--p-${string}`]: any; } }
Nice, thanks! 👌
I recently came around the custom properties typescript warning within JSX by adding a namespace key.