File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed
Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 1+ import type { mdxComponents } from '@/next.mdx.use.mjs' ;
2+
3+ declare global {
4+ type MDXProvidedComponents = typeof mdxComponents ;
5+ }
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import { ENABLE_WEBSITE_REDESIGN } from './next.constants.mjs';
3232/**
3333 * A full list of React Components that we want to pass through to MDX
3434 *
35- * @type {import('mdx/types').MDXComponents }
35+ * @satisfies {import('mdx/types').MDXComponents }
3636 */
3737export const mdxComponents = {
3838 // Legacy Component
Original file line number Diff line number Diff line change 1818 "plugins" : [{ "name" : " next" }],
1919 "baseUrl" : " ."
2020 },
21+ "mdx" : {
22+ "checkMdx" : true
23+ },
2124 "include" : [
2225 " next-env.d.ts" ,
26+ " **/*.mdx" ,
2327 " **/*.ts" ,
2428 " **/*.tsx" ,
2529 " .next/types/**/*.ts" ,
You can’t perform that action at this time.
0 commit comments