Skip to content

Commit 8de9535

Browse files
authored
Added missing types to the Photo interface (#28)
fix: missing types added alt & avg_color types
1 parent 7628cb6 commit 8de9535

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types.ts

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ export interface Photo {
3030
width: number;
3131
height: number;
3232
url: string;
33+
alt: string | null;
34+
avg_color: string | null;
3335
photographer: string;
3436
photographer_url: string;
3537
photographer_id: string;

0 commit comments

Comments
 (0)