You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import*ascolorSpacefrom"@texel/color";
...
colorSpace[colorSpaceStr]// Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'typeof import("@texel/color")'.
What is the proper way to type colorSpaceStr? Can't figure this out :(
The text was updated successfully, but these errors were encountered:
Hi, i'm trying to use
colorspace[colorSpaceStr]
:What is the proper way to type
colorSpaceStr
? Can't figure this out :(The text was updated successfully, but these errors were encountered: