0.2.3 • Published 6 months ago
@types/bind-args v0.2.3
Installation
npm install --save @types/bind-args
Summary
This package contains type definitions for bind-args (https://github.com/kerryChen95/bind-args#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bind-args.
index.d.ts
// Type definitions for bind-args 0.2
// Project: https://github.com/kerryChen95/bind-args#readme
// Definitions by: Rajas Paranjpe <https://github.com/ChocolateLoverRaj>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TODO: Once TypeScript gets optional length tuples, types can be more accurate
declare function bindArgs<T extends (...args: any) => any>(func: T, ...params: Array<Parameters<T>[number]>): (...args: Array<Parameters<T>[number]>) => ReturnType<T>;
export = bindArgs;
Additional Details
- Last updated: Wed, 21 Jul 2021 21:01:17 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Rajas Paranjpe.