Skip to content

Commit 95e5f4c

Browse files
committed
Narrowed FlowFixMe
1 parent 90abb21 commit 95e5f4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/react-client/src/ReactFlightClient.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2460,7 +2460,6 @@ function initializeFakeStack(
24602460
const stack = debugInfo.stack;
24612461
const env = debugInfo.env == null ? '' : debugInfo.env;
24622462
// $FlowFixMe[cannot-write]
2463-
// $FlowFixMe[prop-missing]
24642463
debugInfo.debugStack = createFakeJSXCallStackInDEV(response, stack, env);
24652464
}
24662465
if (debugInfo.owner != null) {
@@ -2488,11 +2487,12 @@ function resolveDebugInfo(
24882487
debugInfo.env === undefined ? response._rootEnvironmentName : debugInfo.env;
24892488
initializeFakeTask(response, debugInfo, env);
24902489
if (debugInfo.owner === null && response._debugRootOwner != null) {
2491-
// $FlowFixMe
2490+
// $FlowFixMe[prop-missing]
2491+
// $FlowFixMe[cannot-write]
24922492
debugInfo.owner = response._debugRootOwner;
24932493
// We override the stack if we override the owner since the stack where the root JSX
24942494
// was created on the server isn't very useful but where the request was made is.
2495-
// $FlowFixMe
2495+
// $FlowFixMe[cannot-write]
24962496
debugInfo.debugStack = response._debugRootStack;
24972497
} else {
24982498
initializeFakeStack(response, debugInfo);

0 commit comments

Comments
 (0)