fix: add mdx types

This commit is contained in:
DecDuck
2025-09-05 13:27:45 +10:00
parent 4aa9058036
commit 5a9ab03d9b
3 changed files with 5 additions and 1 deletions

View File

@@ -29,6 +29,7 @@
"@content-collections/next": "^0.2.7",
"@eslint/eslintrc": "^3",
"@tailwindcss/postcss": "^4.1.11",
"@types/mdx": "^2.0.13",
"@types/node": "^24",
"@types/react": "^19",
"@types/react-dom": "^19",

3
pnpm-lock.yaml generated
View File

@@ -60,6 +60,9 @@ importers:
'@tailwindcss/postcss':
specifier: ^4.1.11
version: 4.1.12
'@types/mdx':
specifier: ^2.0.13
version: 2.0.13
'@types/node':
specifier: ^24
version: 24.3.0

View File

@@ -1,4 +1,4 @@
import type { MDXComponents } from 'mdx/types'
import type { MDXComponents } from 'mdx/types';
import Link from 'next/link'
const components: MDXComponents = {