diff options
Diffstat (limited to 'src/webpack/common/react.ts')
-rw-r--r-- | src/webpack/common/react.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpack/common/react.ts b/src/webpack/common/react.ts index 455f39b..d73a3df 100644 --- a/src/webpack/common/react.ts +++ b/src/webpack/common/react.ts @@ -25,7 +25,7 @@ export let useEffect: typeof React.useEffect; export let useMemo: typeof React.useMemo; export let useRef: typeof React.useRef; -export const ReactDOM: typeof import("react-dom") = findByPropsLazy("createPortal", "render"); +export const ReactDOM: typeof import("react-dom") & typeof import("react-dom/client") = findByPropsLazy("createPortal", "render"); waitFor("useState", m => { React = m; |