Create single utility type to encapsulate color argument #29
Labels
current release
issues to do with the current release of Three
enhancement
New feature or request
good first issue
Good for newcomers
Describe the feature you'd like:
Certain functions & properties have the type
Color | string | number
because they create aTHREE.Color
in the function and those are the arguments thatTHREE.Color
can take, like the example below:Suggested implementation:
Therefore we want to create a utility type so instead of typing
Color | string | number
we only need to write one, this would then need to replace all instances of the previous type across the codebase.The text was updated successfully, but these errors were encountered: