aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types/articles.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/ts/types/articles.ts')
-rw-r--r--src/ts/types/articles.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ts/types/articles.ts b/src/ts/types/articles.ts
index 91703a2..0bb85c8 100644
--- a/src/ts/types/articles.ts
+++ b/src/ts/types/articles.ts
@@ -19,7 +19,7 @@ export type ArticlePreviewResponse = {
};
databaseId: number;
date: string;
- featuredImage: CoverResponse | null;
+ featuredImage: CoverResponse;
id: string;
modified: string;
slug: string;
@@ -31,7 +31,7 @@ export type ArticlePreview = {
content: string;
databaseId: number;
date: ArticleDates;
- featuredImage?: Cover | object;
+ featuredImage: Cover | null;
id: string;
slug: string;
subjects: SubjectPreview[] | [];