Skip to content

Commit

Permalink
replace ... with explicit parameter passing
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMoutonNoble committed Oct 12, 2023
1 parent 95f3c46 commit fcc7192
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/@apollo/client/core/ApolloClient__Core_Types.res
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,9 @@ module MutationQueryReducersMap = {

type t<'data> = Js.Dict.t<MutationQueryReducer.t<'data>>

let toJs: (t<'data>, ~safeParse: Types.safeParse<'data, 'jsData>) => Js_.t<'jsData> = (
t,
~safeParse,
) =>
let toJs: (t<'data>, ~safeParse: Types.safeParse<'data, 'jsData>) => Js_.t<'jsData> = (t, ~safeParse) =>
Js.Dict.map(
(. mutationQueryReducer) => mutationQueryReducer->MutationQueryReducer.toJs(~safeParse, ...),
(. mutationQueryReducer) => (a, b) => mutationQueryReducer->MutationQueryReducer.toJs(~safeParse, a, b),
t,
)
}
Expand Down

0 comments on commit fcc7192

Please sign in to comment.