Skip to content

Commit f72a5f1

Browse files
javacheAndyPengc12
authored andcommitted
Remove unreferenced react-native-host-hooks from flow (facebook#27457)
## Summary These modules are no longer referenced in the React codebase. We should remove them to limit the API surface area between React and React Native. ## How did you test this change? `yarn flow native && yarn flow fabric`
1 parent c3bec63 commit f72a5f1

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

scripts/flow/react-native-host-hooks.js

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -230,33 +230,3 @@ declare var nativeFabricUIManager: {
230230
unstable_getCurrentEventPriority: () => number,
231231
...
232232
};
233-
234-
declare module 'View' {
235-
declare module.exports: typeof React$Component;
236-
}
237-
238-
declare module 'RTManager' {
239-
declare function createNode(
240-
tag: number,
241-
classType: string,
242-
props: ?Object,
243-
): void;
244-
245-
declare function beginUpdates(): void;
246-
247-
declare function appendChildToContext(
248-
contextTag: number,
249-
childTag: number,
250-
): void;
251-
declare function appendChild(parentTag: number, childTag: number): void;
252-
declare function prependChild(childTag: number, beforeTag: number): void;
253-
declare function deleteChild(childTag: number): void;
254-
declare function updateNode(tag: number, props: ?Object): void;
255-
256-
declare function completeUpdates(): void;
257-
}
258-
259-
// shims/ReactFeatureFlags is generated by the packaging script
260-
declare module '../shims/ReactFeatureFlags' {
261-
declare export var debugRenderPhaseSideEffects: boolean;
262-
}

0 commit comments

Comments
 (0)