Open sjohnsonaz opened 4 years ago
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.
For properties like
backgroundColor
, andtransform
, they only accept string. Is it possible to create a generic for this, similar to TLength?