From 1dafc3b6fb076fe8376c4c21b5cba40b8b6b5b8d Mon Sep 17 00:00:00 2001 From: eps1lon Date: Mon, 14 Dec 2020 23:35:07 +0100 Subject: [PATCH] Diff cleanup --- packages/react-devtools-shared/src/backend/console.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/react-devtools-shared/src/backend/console.js b/packages/react-devtools-shared/src/backend/console.js index ac6f0249e9501..a98872e60fbf4 100644 --- a/packages/react-devtools-shared/src/backend/console.js +++ b/packages/react-devtools-shared/src/backend/console.js @@ -8,7 +8,7 @@ */ import type {Fiber} from 'react-reconciler/src/ReactInternalTypes'; -import type {CurrentDispatcherRef, ReactRenderer} from './types'; +import type {CurrentDispatcherRef, ReactRenderer, WorkTagMap} from './types'; import {getInternalReactConstants} from './renderer'; import {getStackByFiberInDevAndProd} from './DevToolsFiberComponentStack'; @@ -34,6 +34,7 @@ const injectedRenderers: Map< currentDispatcherRef: CurrentDispatcherRef, getCurrentFiber: () => Fiber | null, onErrorOrWarning: ?OnErrorOrWarning, + workTagMap: WorkTagMap, |}, > = new Map();