nit: remove any

This commit is contained in:
bholmesdev 2023-03-06 09:55:14 -05:00
parent 331ebd42f8
commit 7ea9414a3b

View file

@ -10,7 +10,7 @@ export default function markdoc(markdocConfig: Config = {}): AstroIntegration {
return {
name: '@astrojs/markdoc',
hooks: {
'astro:config:setup': async ({ updateConfig, config, addContentEntryType }: any) => {
'astro:config:setup': async ({ updateConfig, config, addContentEntryType }) => {
function getEntryInfo({ fileUrl, contents }: { fileUrl: URL; contents: string }) {
const parsed = parseFrontmatter(contents, fileURLToPath(fileUrl));
return {