mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-11-07 22:26:12 -05:00
start extracting types to shared .d.ts file
This commit is contained in:
12 files changed
+45
-30
No files matched your search
Vendored
+17
@@ -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;
|
||||
};
|
||||
Reference in new issue
Block a user