From faff9afe05c3abce42c06f7ff4f82dafc31fe864 Mon Sep 17 00:00:00 2001 From: LitoMore Date: Tue, 24 Sep 2024 23:14:45 +0800 Subject: [PATCH] Fix missing types --- junit.xml | 20 ++++++++++---------- src/index.ts | 9 +++++++++ 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/junit.xml b/junit.xml index 65f2b0a..28967fa 100644 --- a/junit.xml +++ b/junit.xml @@ -1,21 +1,21 @@ - - - + + + - + - + - + - + - + - + - + \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 8e16353..dd61fcd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -18,8 +18,17 @@ export interface SGDBImage { id: number; score: number; style: string[]; + width: number; + height: number; + nsfw: boolean; + humor: boolean; + mime: string; url: URL; thumb: URL; + lock: boolean; + epilepsy: boolean; + upvotes: number; + downvotes: number; tags: string[]; author: SGDBAuthor; language: string;