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.