diff --git a/next-env.d.ts b/next-env.d.ts index cdebab18..ffde38ef 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -62,3 +62,11 @@ declare module "*.section.mdx" { export const metadata: SectionMetadata; export default ReactComponent; } + +declare module "*.mdx" { + import { ComponentType } from "react"; + + const ReactComponent: ComponentType; + + export default ReactComponent; +}