UNPKG

438 BTypeScriptView Raw
1import type { StackFrame } from './stackframe';
2/** JSDoc */
3export interface Stacktrace {
4 frames?: StackFrame[];
5 frames_omitted?: [number, number];
6}
7export type StackParser = (stack: string, skipFirstLines?: number, framesToPop?: number) => StackFrame[];
8export type StackLineParserFn = (line: string) => StackFrame | undefined;
9export type StackLineParser = [number, StackLineParserFn];
10//# sourceMappingURL=stacktrace.d.ts.map
\No newline at end of file