mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-03 16:50:15 +00:00
react-dom tests: Add missing import of 'experimental' (#40669)
This commit is contained in:
committed by
GitHub
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);
|
||||
|
||||
Reference in New Issue
Block a user