Skip to content

Commit

Permalink
fix: Fix type for RequestWithQueryParameters to use QueryParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Fritze committed Nov 21, 2024
1 parent 9437dfb commit ba3d923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/commons/src/types/RequestType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type RequestWithHeaders<THeaders> = THeaders extends EmptyRequestComponent
type RequestWithQueryParameters<TQuery> = TQuery extends EmptyRequestComponent
? RequestWithOptionalHeaders
: {
queryParameters: TQuery & HttpHeaders;
queryParameters: TQuery & QueryParameters;
};

export type RequestType<
Expand Down

0 comments on commit ba3d923

Please sign in to comment.