From 31400ce293c6a99a770df435961df413e49ccf0f Mon Sep 17 00:00:00 2001 From: jerry-lllman <45385120+jerry-lllman@users.noreply.github.com> Date: Fri, 30 Sep 2022 21:57:50 +0800 Subject: [PATCH] Refactor: merge duplicate imports (#25364) --- packages/react-reconciler/src/ReactInternalTypes.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/react-reconciler/src/ReactInternalTypes.js b/packages/react-reconciler/src/ReactInternalTypes.js index 9d23bc43763c2..bee847ce29d63 100644 --- a/packages/react-reconciler/src/ReactInternalTypes.js +++ b/packages/react-reconciler/src/ReactInternalTypes.js @@ -19,13 +19,17 @@ import type { Wakeable, Usable, } from 'shared/ReactTypes'; -import type {SuspenseInstance} from './ReactFiberHostConfig'; import type {WorkTag} from './ReactWorkTags'; import type {TypeOfMode} from './ReactTypeOfMode'; import type {Flags} from './ReactFiberFlags'; import type {Lane, Lanes, LaneMap} from './ReactFiberLane.old'; import type {RootTag} from './ReactRootTags'; -import type {TimeoutHandle, NoTimeout} from './ReactFiberHostConfig'; +import type { + Container, + TimeoutHandle, + NoTimeout, + SuspenseInstance, +} from './ReactFiberHostConfig'; import type {Cache} from './ReactFiberCacheComponent.old'; // Doing this because there's a merge conflict because of the way sync-reconciler-fork // is implemented @@ -210,7 +214,7 @@ type BaseFiberRootProperties = { tag: RootTag, // Any additional information from the host associated with this root. - containerInfo: any, + containerInfo: Container, // Used only by persistent updates. pendingChildren: any, // The currently active root fiber. This is the mutable root of the tree.