Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jho406 committed Oct 7, 2024
1 parent c5fe0e7 commit ea5ccb5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions superglue/lib/action_creators/requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ export const remote: RemoteCreator = (
headers,
body,
pageKey: rawPageKey,
beforeSave = (prevPage, receivedPage) => receivedPage,
beforeSave = (prevPage: VisitResponse, receivedPage: VisitResponse) =>
receivedPage,
} = {}
) => {
path = withoutBusters(path)
Expand Down Expand Up @@ -167,7 +168,8 @@ export const visit: VisitCreator = (
headers,
body,
placeholderKey,
beforeSave = (prevPage, receivedPage) => receivedPage,
beforeSave = (prevPage: VisitResponse, receivedPage: VisitResponse) =>
receivedPage,
revisit = false,
} = {}
) => {
Expand Down

0 comments on commit ea5ccb5

Please sign in to comment.