Use typescript for the project

This commit is contained in:
Artur Gurgul 2025-02-24 18:46:31 +01:00
parent 0f1d41a991
commit 83fd79f674
24 changed files with 2882 additions and 115 deletions

7
types/markdown.d.ts vendored Normal file
View 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;