start extracting types to shared .d.ts file

This commit is contained in:
2022-01-10 14:18:33 -05:00
parent b552b6ae64
commit 0ef7ff5f92
12 changed files with 45 additions and 30 deletions
+17
View File
@@ -0,0 +1,17 @@
export type NoteMetaType = {
title: string;
htmlTitle?: string;
date: string;
slug: string;
permalink: string;
description?: string;
image?: string;
tags?: string[];
readingMins?: number;
noComments?: boolean;
};
export type NoteType = {
frontMatter: NoteMetaType;
mdxSource: string;
};