aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/types/articles.ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2021-12-16 19:30:32 +0100
committerArmand Philippot <git@armandphilippot.com>2021-12-16 19:30:32 +0100
commita8e8fc73498e85c0cc1692b7330aeb3567f4a1e6 (patch)
tree02e92ea4d892c1128930327bc56c5123009bb365 /src/ts/types/articles.ts
parent9a81ce60575403d5d3fc489f9b51d85e7108344b (diff)
chore: display year between blog posts
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[] | [];