Refactor: merge duplicate imports (#25364)
jerry-lllman committed
Sep 30, 2022 at 21:57 UTC
31400ce293c6a99a770df435961df413e49ccf0f
1 file changed
+7
-3
packages/react-reconciler/src/ReactInternalTypes.js
+7
-3
@@ -19,13 +19,17 @@ import type {
19
Wakeable,
20
Usable,
21
} from 'shared/ReactTypes';
22
-import type {SuspenseInstance} from './ReactFiberHostConfig';
22
import type {WorkTag} from './ReactWorkTags';
23
import type {TypeOfMode} from './ReactTypeOfMode';
24
import type {Flags} from './ReactFiberFlags';
25
import type {Lane, Lanes, LaneMap} from './ReactFiberLane.old';
26
import type {RootTag} from './ReactRootTags';
28
-import type {TimeoutHandle, NoTimeout} from './ReactFiberHostConfig';
27
+import type {
28
+ Container,
29
+ TimeoutHandle,
30
+ NoTimeout,
31
+ SuspenseInstance,
32
+} from './ReactFiberHostConfig';
33
import type {Cache} from './ReactFiberCacheComponent.old';
34
// Doing this because there's a merge conflict because of the way sync-reconciler-fork
35
// is implemented
@@ -210,7 +214,7 @@ type BaseFiberRootProperties = {
214
tag: RootTag,
215
216
// Any additional information from the host associated with this root.
213
- containerInfo: any,
217
+ containerInfo: Container,
218
// Used only by persistent updates.
219
pendingChildren: any,
220
// The currently active root fiber. This is the mutable root of the tree.