Drop stale $FlowFixMe suppressions for node: imports (#57612)

Summary:
Pull Request resolved: https://github.com/react/react-native/pull/57612

Cleanup — these types are already declared in `react-native-github/flow-typed/environment/node.js` and resolve under Flow. The `$FlowFixMe[cannot-resolve-module]` suppressions on these imports are therefore stale.

Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D112803683

fbshipit-source-id: e7d248527809748bbee5864d0a0fe83e45fdcc23
This commit is contained in:
Alex Hunt authored and meta-codesync[bot] committed 2026-07-21 09:01:41 -07:00
1 parent 89300acb9c
commit 527698f2e5
3 files changed
-6

No files matched your search

@@ -8,10 +8,8 @@
* @format
*/
// $FlowFixMe[cannot-resolve-module] libdef missing in RN OSS
import type {Timeout} from 'node:timers';
// $FlowFixMe[cannot-resolve-module] libdef missing in RN OSS
import {setTimeout} from 'node:timers';
import util from 'node:util';
@@ -11,9 +11,7 @@
// $FlowFixMe[cannot-resolve-module] libdef missing in RN OSS
import type {DebuggerSessionIDs} from '../types/EventReporter';
// $FlowFixMe[cannot-resolve-module] libdef missing in RN OSS
import {monitorEventLoopDelay, performance} from 'node:perf_hooks';
// $FlowFixMe[cannot-resolve-module] libdef missing in RN OSS
import {setTimeout} from 'node:timers';
export type EventLoopPerfTrackerArgs = {
@@ -8,11 +8,9 @@
* @format
*/
// $FlowFixMe[cannot-resolve-module] libdef missing in RN OSS
import type {Timeout} from 'node:timers';
// Import these from node:timers to get the correct Flow types.
// $FlowFixMe[cannot-resolve-module] libdef missing in RN OSS
import {clearTimeout, setTimeout} from 'node:timers';
import WS from 'ws';