Skip to content

Commit ca1d5e0

Browse files
committed
Fix flow
1 parent ecb1861 commit ca1d5e0

File tree

1 file changed

+5
-1
lines changed
  • packages/react-devtools-shared/src/backend/fiber

1 file changed

+5
-1
lines changed

packages/react-devtools-shared/src/backend/fiber/renderer.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5859,7 +5859,11 @@ export function attach(
58595859
return unresolvedSource;
58605860
}
58615861

5862-
const internalMcpFunctions = {};
5862+
type InternalMcpFunctions = {
5863+
__internal_only_getComponentTree?: Function,
5864+
};
5865+
5866+
const internalMcpFunctions: InternalMcpFunctions = {};
58635867
if (__IS_INTERNAL_MCP_BUILD__) {
58645868
// eslint-disable-next-line no-inner-declarations
58655869
function __internal_only_getComponentTree(): string {

0 commit comments

Comments
 (0)