mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-25 12:38:57 +02:00
refactor: prepare types for React 19 (#10746)
This commit is contained in:
parent
e9f0641620
commit
f9825af43e
296 changed files with 1105 additions and 915 deletions
|
@ -85,6 +85,7 @@ declare module '@docusaurus/plugin-content-pages' {
|
|||
}
|
||||
|
||||
declare module '@theme/MDXPage' {
|
||||
import type {ReactNode} from 'react';
|
||||
import type {LoadedMDXContent} from '@docusaurus/mdx-loader';
|
||||
import type {
|
||||
MDXPageMetadata,
|
||||
|
@ -100,5 +101,5 @@ declare module '@theme/MDXPage' {
|
|||
>;
|
||||
}
|
||||
|
||||
export default function MDXPage(props: Props): JSX.Element;
|
||||
export default function MDXPage(props: Props): ReactNode;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue