Installation
npm install --save @types/callsite
Summary
This package contains type definitions for callsite (https://github.com/tj/callsite).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/callsite.
declare namespace Callsite {
interface CallSite {
getThis(): any;
getTypeName(): string;
getFunctionName(): string;
getMethodName(): string;
getFileName(): string;
getLineNumber(): number;
getColumnNumber(): number;
getFunction(): Function;
getEvalOrigin(): string;
isNative(): boolean;
isToplevel(): boolean;
isEval(): boolean;
isConstructor(): boolean;
}
}
declare function Callsite(): Callsite.CallSite[];
export = Callsite;
Additional Details
- Last updated: Tue, 17 Oct 2023 22:10:13 GMT
- Dependencies: none
Credits
These definitions were written by newclear.