start extracting types to shared .d.ts file

This commit is contained in:
jake committed 2022-01-10 14:18:33 -05:00
1 parent b552b6ae64
commit 0ef7ff5f92
12 files changed
+45 -30

No files matched your search

+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;
};