Files
Fluxup_PAP/node_modules/@expo/log-box/build/utils/parseWebBuildErrors.d.ts
2026-03-10 16:18:05 +00:00

15 lines
533 B
TypeScript

import { LogBoxLogDataLegacy, MetroStackFrame } from '../Data/Types';
/**
* Called in expo/cli, the return value is injected into the static error page which is bundled
* instead of the app when the web build fails.
*/
export declare function parseWebBuildErrors({ error, projectRoot, parseErrorStack, }: {
error: Error & {
type?: unknown;
};
projectRoot: string;
parseErrorStack: (projectRoot: string, stack?: string) => (MetroStackFrame & {
collapse?: boolean;
})[];
}): LogBoxLogDataLegacy;