@react-native/dev-middleware
Version:
Dev server middleware for React Native
26 lines (22 loc) • 738 B
Flow
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @flow strict-local
* @format
*/
import type { DebuggerShellPreparationResult } from "../types/DevToolLauncher";
/**
* Default `DevToolLauncher` implementation which handles opening apps on the
* local machine.
*/
declare const DefaultToolLauncher: {
launchDebuggerAppWindow: (url: string) => Promise<void>,
launchDebuggerShell(url: string, windowKey: string): Promise<void>,
prepareDebuggerShell(
prebuiltBinaryPath?: ?string,
): Promise<DebuggerShellPreparationResult>,
};
declare export default typeof DefaultToolLauncher;