We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cabf9c2 commit d0a71cdCopy full SHA for d0a71cd
src/index/import/markdown.ts
@@ -295,7 +295,7 @@ export function* iterateInlineFields(content: string[]): Generator<InlineField>
295
}
296
297
/** Top-level function which maps a YAML block - including frontmatter - into frontmatter entries. */
298
-export function parseFrontmatterBlock(block: Record<string, any>): Record<string, JsonFrontmatterEntry> {
+export function parseFrontmatterBlock(block: Record<string, string>): Record<string, JsonFrontmatterEntry> {
299
const result: Record<string, JsonFrontmatterEntry> = {};
300
for (const key of Object.keys(block)) {
301
const value = block[key];
0 commit comments