Use typescript for the project
This commit is contained in:
parent
0f1d41a991
commit
83fd79f674
24 changed files with 2882 additions and 115 deletions
7
types/markdown.d.ts
vendored
Normal file
7
types/markdown.d.ts
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
export declare function parseMD(file: string): {
|
||||
meta: {
|
||||
[key: string]: any;
|
||||
};
|
||||
content: string | Promise<string>;
|
||||
};
|
||||
export declare function parseMarkdown(obj: any): void;
|
Loading…
Add table
Add a link
Reference in a new issue