Skip to content

Commit d0a71cd

Browse files
committed
One last any
1 parent cabf9c2 commit d0a71cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index/import/markdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export function* iterateInlineFields(content: string[]): Generator<InlineField>
295295
}
296296

297297
/** Top-level function which maps a YAML block - including frontmatter - into frontmatter entries. */
298-
export function parseFrontmatterBlock(block: Record<string, any>): Record<string, JsonFrontmatterEntry> {
298+
export function parseFrontmatterBlock(block: Record<string, string>): Record<string, JsonFrontmatterEntry> {
299299
const result: Record<string, JsonFrontmatterEntry> = {};
300300
for (const key of Object.keys(block)) {
301301
const value = block[key];

0 commit comments

Comments
 (0)