michangarrito/apps/backend/node_modules/stacktrace-parser/dist/stack-trace-parser.d.ts
rckrdmrd 48dea7a5d0 feat: Initial commit - michangarrito
Marketplace móvil para negocios locales mexicanos.

Estructura inicial:
- apps/backend (NestJS API)
- apps/frontend (React Web)
- apps/mobile (Expo/React Native)
- apps/mcp-server (Claude MCP Server)
- apps/whatsapp-service (WhatsApp Business API)
- database/ (PostgreSQL DDL)
- docs/ (Documentación)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 04:41:02 -06:00

18 lines
529 B
TypeScript

import { LiteralUnion } from 'type-fest';
export interface StackFrame {
file: string | null;
methodName: LiteralUnion<'<unknown>', string>;
arguments: string[];
lineNumber: number | null;
column: number | null;
}
/**
* This parser parses a stack trace from any browser or Node.js and returns an array of hashes representing a line.
*
* @param stackString - The stack to parse, usually from `error.stack` property.
* @returns The parsed stack frames.
*/
export function parse(stackString: string): StackFrame[];