mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-30 23:21:29 -04:00
start extracting types to shared .d.ts file
This commit is contained in:
17
types/index.d.ts
vendored
Normal file
17
types/index.d.ts
vendored
Normal 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;
|
||||
};
|
Reference in New Issue
Block a user