refactor: add type to SITE object for better type safety

This commit is contained in:
satnaing
2023-03-16 14:56:54 +06:30
parent 2afdf4d82e
commit 0c6d0ba6cd
2 changed files with 12 additions and 2 deletions
+10
View File
@@ -1,3 +1,13 @@
export type Site = {
website: string;
author: string;
desc: string;
title: string;
ogImage: string;
lightAndDarkMode: boolean;
postPerPage: number;
};
export type SocialObjects = {
name: SocialMedia;
href: string;