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

    1.0.0 • Public • Published

    Installation

    npm install --save @types/delegates

    Summary

    This package contains type definitions for delegates (https://github.com/tj/node-delegates).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/delegates.

    index.d.ts

    // Type definitions for delegates 1.0
    // Project: https://github.com/tj/node-delegates
    // Definitions by: xingyuzhe <https://github.com/xingyuzhe>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    declare class Delegate {
        constructor(proto: object, target: string)
        method(name: string): Delegate;
        access(name: string): Delegate;
        getter(name: string): Delegate;
        setter(name: string): Delegate;
        fluent(name: string): Delegate;
    }
    
    declare function Delegate(proto: object, target: string): Delegate;
    
    export = Delegate;

    Additional Details

    • Last updated: Fri, 17 Dec 2021 03:31:12 GMT
    • Dependencies: none
    • Global values: none

    Credits

    These definitions were written by xingyuzhe.

    Keywords

    none

    Install

    npm i @types/delegates

    DownloadsWeekly Downloads

    34,134

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    3.67 kB

    Total Files

    4

    Last publish

    Collaborators

    • types