@bacons/expo-metro-runtime
Version:
Tools for making experimental Metro bundler features work
17 lines (16 loc) • 607 B
TypeScript
/**
* Copyright (c) Evan Bacon.
* 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.
*/
import { StackFrame as UpstreamStackFrame } from "stacktrace-parser";
declare type SymbolicatedStackTrace = any;
declare type StackFrame = UpstreamStackFrame & {
collapse?: boolean;
};
export declare type Stack = Array<StackFrame>;
export declare function deleteStack(stack: Stack): void;
export declare function symbolicate(stack: Stack): Promise<SymbolicatedStackTrace>;
export {};