amis-rpc-design/node_modules/@react-native-community/cli-server-api/build/devToolsMiddleware.d.ts
2023-10-07 19:42:30 +08:00

15 lines
564 B
TypeScript

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import http from 'http';
type LaunchDevToolsOptions = {
host?: string;
port: number;
watchFolders: ReadonlyArray<string>;
};
export default function getDevToolsMiddleware(options: LaunchDevToolsOptions, isDebuggerConnected: () => boolean): (_req: http.IncomingMessage, res: http.ServerResponse) => void;
export {};
//# sourceMappingURL=devToolsMiddleware.d.ts.map