Skip to content

Commit 2a4347e

Browse files
yordisArcath
andauthored
fix(TS): components types issue (#118)
Co-authored-by: Adam Laycock <[email protected]>
1 parent 73b458b commit 2a4347e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@
5555
"devDependencies": {
5656
"@testing-library/react": "^12.0.0",
5757
"@types/jsdom": "^16.2.13",
58+
"@types/mdx": "^2.0.1",
5859
"@types/react": "^17.0.17",
5960
"@types/react-dom": "^17.0.9",
6061
"@types/uuid": "^8.3.1",

src/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as _jsx_runtime from 'react/jsx-runtime.js'
33
import * as ReactDOM from 'react-dom'
44

55
/**
6-
* @typedef {{[name: string]: React.ComponentType | string | ComponentMap}} ComponentMap
6+
* @typedef {import('mdx/types').MDXComponents} ComponentMap
77
*/
88

99
/**

0 commit comments

Comments
 (0)