Skip to content

Commit

Permalink
Allow for string inputs too to function
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeLenaleee committed May 2, 2022
1 parent 079f690 commit e6e9c94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/helpers/helpers.color.d.ts
Expand Up @@ -10,7 +10,7 @@ export function color(
| [number, number, number, number]
): ColorModel;

export function isPatternOrGradient(value: AnyObject): boolean;
export function isPatternOrGradient(value: string | AnyObject): boolean;

export interface ColorModel {
rgbString(): string;
Expand Down

0 comments on commit e6e9c94

Please sign in to comment.