nit: remove any
This commit is contained in:
parent
331ebd42f8
commit
7ea9414a3b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ export default function markdoc(markdocConfig: Config = {}): AstroIntegration {
|
||||||
return {
|
return {
|
||||||
name: '@astrojs/markdoc',
|
name: '@astrojs/markdoc',
|
||||||
hooks: {
|
hooks: {
|
||||||
'astro:config:setup': async ({ updateConfig, config, addContentEntryType }: any) => {
|
'astro:config:setup': async ({ updateConfig, config, addContentEntryType }) => {
|
||||||
function getEntryInfo({ fileUrl, contents }: { fileUrl: URL; contents: string }) {
|
function getEntryInfo({ fileUrl, contents }: { fileUrl: URL; contents: string }) {
|
||||||
const parsed = parseFrontmatter(contents, fileURLToPath(fileUrl));
|
const parsed = parseFrontmatter(contents, fileURLToPath(fileUrl));
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue