···11+import * as React from 'react'
22+33+/**
44+ * React 19 removed the JSX namespace
55+ * https://react.dev/blog/2024/04/25/react-19-upgrade-guide#the-jsx-namespace-in-typescript
66+ * and any packages that still use it will produce ts warnings/errors
77+ *
88+ * this can be bypassed by using tsconfig's compilerOptions.skipLibCheck: true
99+ * but that is not super great for detecting actual issues with third party libraries before compile time
1010+ *
1111+ * Some of the below may be fixed by upgrading docusaurus to 3.10.x but for now:
1212+ *
1313+ * * hast-util-to-jsx-runtime version had to be overriden to use a newer package to fix NS issue
1414+ * * packages below have no newer version with fixed NS so we just provide global overrides to re-export React as JSX NS
1515+ *
1616+ */
1717+1818+// https://github.com/mdx-js/mdx/issues/2487#issuecomment-3462720757
1919+declare module 'mdx/types.js' {
2020+ export import JSX = React.JSX
2121+}
2222+2323+declare module 'react-helmet-async' {
2424+ export import JSX = React.JSX
2525+}
2626+2727+export {}