Skip to content

Commit

Permalink
fix missing body in the IRequest typing
Browse files Browse the repository at this point in the history
  • Loading branch information
htdangkhoa committed May 3, 2023
1 parent f4d32d9 commit c977de5
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 @@ -45,6 +45,8 @@ declare module 'pure-http' {

query?: Record<string, string>;

body?: any;

header(name: string): undefined | string | string[];
}

Expand Down

0 comments on commit c977de5

Please sign in to comment.