Skip to content

Commit 7a0977f

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! update flow
1 parent fb39da4 commit 7a0977f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-reconciler/src/ReactFiberHostContext.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ export default function<T, P, I, TI, HI, PI, C, CC, CX, PL>(
8282
}
8383

8484
function pushHostContext(fiber: Fiber): void {
85-
const rootInstance = requiredContext(rootInstanceStackCursor.current);
86-
const context = requiredContext(contextStackCursor.current);
85+
const rootInstance: C = requiredContext(rootInstanceStackCursor.current);
86+
const context: CX = requiredContext(contextStackCursor.current);
8787
const nextContext = getChildHostContext(context, fiber.type, rootInstance);
8888

8989
// Don't push this Fiber's context unless it's unique.

packages/react-reconciler/src/ReactFiberReconciler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type OpaqueRoot = FiberRoot;
4949

5050
export type HostConfig<T, P, I, TI, HI, PI, C, CC, CX, PL> = {
5151
getRootHostContext(rootContainerInstance: C): CX,
52-
getChildHostContext(parentHostContext: CX, type: T, instance: ?C): CX,
52+
getChildHostContext(parentHostContext: CX, type: T, instance: C): CX,
5353
getPublicInstance(instance: I | TI): PI,
5454

5555
createInstance(

0 commit comments

Comments
 (0)