csstype
csstype copied to clipboard
Add generics to string properties
For properties like backgroundColor, and transform, they only accept string. Is it possible to create a generic for this, similar to TLength?
A generic for what purpose?
I'm attempting to override the string value for backgroundColor and transform with another type. I'm hoping to pass an Object that has a toString method so that it will automatically cast to a correctly formatted string.
I did this already for properties using TLength, like margin, but the rest aren't generic.