react-native-get-pixel_edit/node_modules/@react-native/dev-middleware/dist/middleware/deprecated_openFlipperMiddleware.js.flow
2025-07-09 11:41:52 +09:00

29 lines
761 B
Plaintext

/**
* 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
* @oncall react_native
*/
import type { NextHandleFunction } from "connect";
import type { Logger } from "../types/Logger";
type Options = $ReadOnly<{
logger?: Logger,
}>;
/**
* Open the legacy Flipper debugger (Hermes).
*
* @deprecated This replicates the pre-0.73 workflow of opening Flipper via the
* `flipper://` URL scheme, failing if Flipper is not installed locally. This
* flow will be removed in a future version.
*/
declare export default function deprecated_openFlipperMiddleware(
Options
): NextHandleFunction;