Skip to content

Commit

Permalink
Fix invalid return type in toString / pickr.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
simonwep committed Dec 4, 2019
1 parent d9bbc04 commit 8801c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/pickr.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ declare namespace Pickr {
* Uses Number.toFixed to truncate each value to the n-th decimal place.
* @param precision Optional precision / decimal place at which point it should be truncated.
*/
toString(precision?: number): Array<number>;
toString(precision?: number): string;
}

interface HSVaColor {
Expand Down

0 comments on commit 8801c71

Please sign in to comment.