mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
react-dom tests: Add missing import of 'experimental' (#40669)
This commit is contained in:
parent
e2690999da
commit
6323ec4f01
@ -1,5 +1,6 @@
|
||||
import React = require('react');
|
||||
import ReactDOM = require('react-dom');
|
||||
import 'react-dom/experimental';
|
||||
|
||||
function createRoot() {
|
||||
const root = ReactDOM.createRoot(document);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user