Skip to content

Commit

Permalink
Make return type of augment fn a Partial<RequestContext>
Browse files Browse the repository at this point in the history
  • Loading branch information
bryantpark04 committed Jul 19, 2024
1 parent 7dc9531 commit fca570d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/client/src/util/augmentRequestContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import type { MinimalClient, RequestContext } from "../MinimalClientContext.js";

export const augmentRequestContext = (
client: MinimalClient,
augment: (ctx: RequestContext) => RequestContext,
augment: (ctx: RequestContext) => Partial<RequestContext>,
): MinimalClient => ({
...client,
requestContext: {
Expand Down

0 comments on commit fca570d

Please sign in to comment.