Closed dominik-ro closed 4 years ago
src/color.ts:
export function fromString(str: string) { // ... }
tsc infers return type number[], but it should be Color. Also, could you export the Color type, please?
number[]
Color
Hi @dominik-ro,
I just pushed a fix that should do it. Please let me know if you need more adjustments.
src/color.ts:
tsc infers return type
number[]
, but it should beColor
. Also, could you export theColor
type, please?