Skip to content

Commit 77ab7de

Browse files
committed
Update script
1 parent 7b96565 commit 77ab7de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/markdownToHtml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const remarkFm = ({
5555
if (meta) {
5656
meta = meta.replace(/{{/, "{");
5757
meta = meta.replace(/}}/, "}");
58-
let parsed = {};
58+
let parsed: { title?: string; description?: string } = {};
5959

6060
try {
6161
parsed = JSON.parse(meta);

0 commit comments

Comments
 (0)