hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
18 lines • 776 B
TypeScript
import type { StackFrame } from '@sentry/core';
export declare const MAX_CONTEXTLINES_COLNO: number;
export declare const MAX_CONTEXTLINES_LINENO: number;
/**
* Exported for testing purposes.
*/
export declare function resetFileContentCache(): void;
/**
* Resolves context lines before and after the given line number and appends them to the frame;
*/
export declare function addContextToFrame(lineno: number, frame: StackFrame, contextLines: number, contents: Record<number, string> | undefined): void;
/** Exported only for tests, as a type-safe variant. */
export declare const _contextLinesIntegration: any;
/**
* Capture the lines before and after the frame's context.
*/
export declare const contextLinesIntegration: any;
//# sourceMappingURL=contextlines.d.ts.map