reactotron-react-native
Version:
A development tool to explore, inspect, and diagnose your React Native apps.
5 lines (4 loc) • 439 B
TypeScript
import type { StackFrame } from "react-native/Libraries/Core/NativeExceptionsManager";
import type { HermesParsedStack } from "react-native/Libraries/Core/Devtools/parseHermesStack";
/** @see https://github.com/facebook/react-native/blob/v0.72.1/packages/react-native/Libraries/Core/Devtools/parseErrorStack.js#L41-L57 */
export type ParseErrorStackFn = <T extends any[]>(errorStack?: string | T | HermesParsedStack) => Array<StackFrame>;