File tree 2 files changed +4
-2
lines changed
packages/react-reconciler/src
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import type {
15
15
} from './ReactInternalTypes' ;
16
16
import type { RootTag } from './ReactRootTags' ;
17
17
import type { Cache } from './ReactFiberCacheComponent.new' ;
18
+ import type { Container } from './ReactFiberHostConfig' ;
18
19
19
20
import { noTimeout , supportsHydration } from './ReactFiberHostConfig' ;
20
21
import { createHostRootFiber } from './ReactFiber.new' ;
@@ -128,7 +129,7 @@ function FiberRootNode(
128
129
}
129
130
130
131
export function createFiberRoot (
131
- containerInfo : any ,
132
+ containerInfo : Container ,
132
133
tag : RootTag ,
133
134
hydrate : boolean ,
134
135
initialChildren : ReactNodeList ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import type {
15
15
} from './ReactInternalTypes' ;
16
16
import type { RootTag } from './ReactRootTags' ;
17
17
import type { Cache } from './ReactFiberCacheComponent.old' ;
18
+ import type { Container } from './ReactFiberHostConfig' ;
18
19
19
20
import { noTimeout , supportsHydration } from './ReactFiberHostConfig' ;
20
21
import { createHostRootFiber } from './ReactFiber.old' ;
@@ -128,7 +129,7 @@ function FiberRootNode(
128
129
}
129
130
130
131
export function createFiberRoot (
131
- containerInfo : any ,
132
+ containerInfo : Container ,
132
133
tag : RootTag ,
133
134
hydrate : boolean ,
134
135
initialChildren : ReactNodeList ,
You can’t perform that action at this time.
0 commit comments