narsenico / a-color-picker

A color picker for web app
MIT License
107 stars 21 forks source link

wrong return type for API method parseColor #26

Open canbax opened 4 years ago

canbax commented 4 years ago

When I check the file acolorpicker.d.ts file I see

export function parseColor(color: string | Array<number>, outFormat?: OutFormat): string;

which is simply wrong because it could also return a number[].