Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Export and convert to interface to preserve type name in declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
OliverJAsh committed Mar 17, 2021
1 parent c33ad9c commit cb743fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type BaseRequestParams = BuildUrlParams &
/**
* Additional fetch options provided by the user on a per-call basis
*/
type AdditionalFetchOptions = OmitStrict<RequestInit, keyof FetchParams>;
export interface AdditionalFetchOptions extends OmitStrict<RequestInit, keyof FetchParams> {}
export type CompleteRequestParams = BaseRequestParams & AdditionalFetchOptions;
type HandleRequest<Args> = (
a: Args,
Expand Down

0 comments on commit cb743fb

Please sign in to comment.