Skip to content

Commit

Permalink
Narrow typings
Browse files Browse the repository at this point in the history
Co-authored-by: Matthieu Sieben <matthieusieben@users.noreply.github.com>
  • Loading branch information
kanongil and matthieusieben committed Dec 11, 2023
1 parent 6e09c6f commit c700f35
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
Expand Up @@ -63,7 +63,7 @@ export interface Options<Data> {
/**
* An object containing any HTTP headers where each key is a header name and value is the header content
*/
readonly headers?: { [header: string]: string | readonly string[] | number };
readonly headers?: { readonly [header: string]: string | readonly string[] | number };

/**
* Constructor reference used to crop the exception call stack output
Expand Down

0 comments on commit c700f35

Please sign in to comment.