From f327f7e9ca4fc1af66e352edccc9448531d67a07 Mon Sep 17 00:00:00 2001 From: Josh Story Date: Mon, 6 Mar 2023 10:53:21 -0800 Subject: [PATCH] type --- packages/react-reconciler/src/ReactFiberHostContext.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-reconciler/src/ReactFiberHostContext.js b/packages/react-reconciler/src/ReactFiberHostContext.js index 3dd76daddb770..539dedbbd1c8b 100644 --- a/packages/react-reconciler/src/ReactFiberHostContext.js +++ b/packages/react-reconciler/src/ReactFiberHostContext.js @@ -71,7 +71,7 @@ function getHostContext(): HostContext { return context; } -function pushHostContext(fiber: Fiber) { +function pushHostContext(fiber: Fiber): void { const context: HostContext = requiredContext(contextStackCursor.current); const nextContext = getChildHostContext(context, fiber.type);