jiuyiUniapp/service/node_modules/@react-native/community-cli-plugin/dist/commands/start/runServer.js.flow

39 lines
863 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 { Config } from "@react-native-community/cli-types";
export type StartCommandArgs = {
assetPlugins?: string[],
cert?: string,
customLogReporterPath?: string,
host?: string,
https?: boolean,
maxWorkers?: number,
key?: string,
platforms: string[],
port?: number,
resetCache?: boolean,
sourceExts?: string[],
transformer?: string,
watchFolders?: string[],
config?: string,
projectRoot?: string,
interactive: boolean,
};
declare function runServer(
_argv: Array<string>,
cliConfig: Config,
args: StartCommandArgs
): void;
declare export default typeof runServer;