PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@react-native/community-cli-plugin/dist/commands/start

Просмотр файла: OpenDebuggerKeyboardHandler.js.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 { TerminalReporter } from "metro";

declare export default class OpenDebuggerKeyboardHandler {
  constructor($$PARAM_0$$: {
    devServerUrl: string,
    reporter: TerminalReporter,
  }): void;
  /**
   * Used in response to 'j' to debug - fetch the available debug targets and:
   *  - If no targets, warn
   *  - If one target, open it
   *  - If more, show a list. The keyboard listener should run subsequent key
   *    presses through maybeHandleTargetSelection, which will launch the
   *    debugger if a match is made.
   */
  handleOpenDebugger(): Promise<void>;
  /**
   * Handle key presses that correspond to a valid selection from a visible
   * selection list.
   *
   * @return true if we've handled the key as a target selection, false if the
   *   caller should handle the key.
   */
  maybeHandleTargetSelection(keyName: string): boolean;
  /**
   * Dismiss any target selection UI, if shown.
   */
  dismiss(): void;
}

Выполнить команду


Для локальной разработки. Не используйте в интернете!