Skip to content

Commit

Permalink
IPLAYER-43506: Update Body type within Response to return all pos…
Browse files Browse the repository at this point in the history
…sible types (#47)

* update body type return all possible types for body

* use `Object` instead of `object` inside union type
  • Loading branch information
henrywarne authored Nov 29, 2023
1 parent 465a743 commit 84ac29e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export declare type Plugin<
) => any;
export declare type Header = Object;
export declare type Querystring = Object;
export declare type Body = string;
export declare type Body = string | Object | null;
export declare type RequestOptions = Object;
export declare type ErrorObject = {
message: string;
Expand Down

0 comments on commit 84ac29e

Please sign in to comment.