metro-symbolicate
Version:
🚇 A tool to find the source location from JS bundles and stack traces.
30 lines (27 loc) • 835 B
TypeScript
/**
* 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.
*
* @noformat
* @oncall react_native
* @generated SignedSource<<514225e55c0b3bbdbef6f68fb16f4085>>
*
* This file was translated from Flow by scripts/generateTypeScriptDefinitions.js
* Original file: packages/metro-symbolicate/src/symbolicate.js
* To regenerate, run:
* js1 build metro-ts-defs (internal) OR
* yarn run build-ts-defs (OSS)
*/
import type {Readable, Writable} from 'stream';
import type {ReadStream} from 'tty';
declare function main(
argvInput?: Array<string>,
$$PARAM_1$$?: Readonly<{
stdin: Readable | ReadStream;
stderr: Writable;
stdout: Writable;
}>,
): Promise<number>;
export default main;