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

1.0.3 • 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

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: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by xingyuzhe.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/delegates

Weekly Downloads

10,661

Version

1.0.3

License

MIT

Unpacked Size

3.22 kB

Total Files

5

Last publish

Collaborators

  • types