This commit is contained in:
13
types/types.d.ts
vendored
Normal file
13
types/types.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
export interface FrontMatter {
|
||||
[prop: string]: string;
|
||||
}
|
||||
|
||||
export interface MarkdownDocument {
|
||||
frontMatter: FrontMatter;
|
||||
content: string;
|
||||
}
|
||||
|
||||
export interface MarkdownRenderingResult {
|
||||
frontMatter: FrontMatter;
|
||||
html: string;
|
||||
}
|
||||
Reference in New Issue
Block a user