Skip to content

Commit e43e4de

Browse files
authored
Add colors type to upload response, fix type (#549)
* Add colors type to upload response, fix type
1 parent f24e2bb commit e43e4de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

types/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,7 @@ declare module 'cloudinary' {
595595
access_control: Array<string>;
596596
context: object;
597597
metadata: object;
598+
colors?: [string, number][];
598599

599600
[futureKey: string]: any;
600601
}
@@ -672,7 +673,7 @@ declare module 'cloudinary' {
672673
image_metadata: object;
673674
faces: number[][];
674675
quality_analysis: number;
675-
colors: string[][];
676+
colors: [string, number][];
676677
derived: Array<string>;
677678
moderation: object;
678679
phash: string;

0 commit comments

Comments
 (0)