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

Commit

Permalink
feat: improved TypeScript definition
Browse files Browse the repository at this point in the history
  • Loading branch information
tyczynski committed Jul 2, 2020
1 parent 01157cc commit 0e7513b
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(fn: any, ...args: any): any;
declare function calliffn<T, R>(fn: (...T: any[]) => R, ...args: T[]): R | void;
export = calliffn;

0 comments on commit 0e7513b

Please sign in to comment.