We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
typescript.mdx
1 parent 97ec1a8 commit 889eb4bCopy full SHA for 889eb4b
docs/advanced/typescript.mdx
@@ -39,7 +39,7 @@ declare module '@mdx-js/react' {
39
| 'ul'
40
41
export type Components = {
42
- [key in ComponentType]?: React.ComponentType<{children: React.ReactNode}>
+ [key in ComponentType]?: React.ComponentType<any>
43
}
44
45
export interface MDXProviderProps {
0 commit comments