Skip to content

Commit f5a5f58

Browse files
huntiefacebook-github-bot
authored andcommitted
Create dev-middleware package
Summary: X-link: facebook/react-native#38194 ## Context RFC: Decoupling Flipper from React Native core: react-native-community/discussions-and-proposals#641 ## Changes Inits the `react-native/dev-middleware` package. Contains an initial implementation of `/open-debugger`, migrated from react-native-community/cli@2535dbe. ## Attribution This implementation is greatly inspired by `expo/dev-server`: https://github.com/expo/expo/blob/1120c716f35cb28d88800e8f5d963d2b2ac94705/packages/%40expo/dev-server/src/JsInspector.ts#L18 Changelog: [Internal] Reviewed By: motiz88 Differential Revision: D46283818 fbshipit-source-id: 7b38ad2f6d7346366a7c599d16e289e04b7bd88d
1 parent 891fe96 commit f5a5f58

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

flow-typed/npm/connect_v3.x.x.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ declare module 'connect' {
2121
res: http.ServerResponse,
2222
next: NextFunction,
2323
) => void | Promise<void>;
24-
declare export type HandleFunction =
25-
| NextHandleFunction;
24+
declare export type HandleFunction = NextHandleFunction;
2625

2726
declare export interface IncomingMessage extends http.IncomingMessage {
2827
originalUrl?: http.IncomingMessage['url'];

0 commit comments

Comments
 (0)