Skip to content

Commit

Permalink
update typings
Browse files Browse the repository at this point in the history
  • Loading branch information
denis committed Jul 11, 2021
1 parent 7bf5ec1 commit 2e11901
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ declare class APIFactory {
head(options, body?, cb?): Promise<any>;
patch(options, body?, cb?): Promise<any>;
delete(options, body?, cb?): Promise<any>;

on: (event: string, cb: any) => void
}

export = APIFactory

0 comments on commit 2e11901

Please sign in to comment.