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
Since NaN has been replaced with null, there is no longer a guarantee that the values coming back will be number. Was getting a runtime error with the latest git when my color sliders tried to call toString() on the color values, but one of them ended up being null. I was confused at first because TypeScript didn't complain about the typing.
The text was updated successfully, but these errors were encountered:
Related to #409
The typing for
Coords
seems to be out of date:color.js/types/src/color.d.ts
Line 27 in 551021a
Since
NaN
has been replaced withnull
, there is no longer a guarantee that the values coming back will benumber
. Was getting a runtime error with the latest git when my color sliders tried to calltoString()
on the color values, but one of them ended up beingnull
. I was confused at first because TypeScript didn't complain about the typing.The text was updated successfully, but these errors were encountered: