UNPKG

@evojs/callsite

Version:
16 lines (15 loc) 458 B
/// <reference types="node" /> export declare class Callsite { static DEFAULT_CALLSITES_COUNT: number; readonly source?: string; readonly line?: number; readonly column?: number; readonly typeName?: string; readonly functionName?: string; protected constructor(nodeCallsite: NodeJS.CallSite); /** * Get callsites */ static get(depth?: number, count?: number): Callsite[]; protected static _getNodeCallsites(limit: number): NodeJS.CallSite[]; }