Narcissistic Passion Minified

    @types/callsite
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.31 • Public • Published

    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.

    index.d.ts

    // Type definitions for callsite 1.0.0
    // Project: https://github.com/tj/callsite
    // Definitions by: newclear <https://github.com/newclear>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    
    
    
    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: Fri, 09 Jul 2021 02:32:22 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by newclear.

    Keywords

    none

    Install

    npm i @types/callsite

    DownloadsWeekly Downloads

    12,679

    Version

    1.0.31

    License

    MIT

    Unpacked Size

    4.04 kB

    Total Files

    4

    Last publish

    Collaborators

    • types