Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
fix: correct type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
tyczynski committed Aug 28, 2020
1 parent 9329585 commit d101f3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
declare function calliffn<T, R>(fn: (...T: any[]) => R, ...args: T[]): R | void;
declare function calliffn<T extends any[], R>(fn: (...args: T) => R, ...args: T): R | void;
export = calliffn;

0 comments on commit d101f3e

Please sign in to comment.