Skip to content
Myr

fix: consistent recipe return type in produceWithPatches (#934)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Myles J · committed by GitHub · parent 9f7623d · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:src/types/types-external.ts+2 added-2 removed
239 unmodified lines
240 initialState: State241 ): InferCurriedFromInitialStateAndRecipe<State, Recipe, true>242 <Base, D = Draft<Base>>(243 base: Base,244 recipe: (draft: D) => ValidRecipeReturnType<Base>,244 recipe: (draft: D) => ValidRecipeReturnType<D>,245 listener?: PatchListener246 ): PatchesTuple<Base>247 <Base, D = Draft<Base>>(248 base: Base,249 recipe: (draft: D) => Promise<ValidRecipeReturnType<Base>>,249 recipe: (draft: D) => Promise<ValidRecipeReturnType<D>>,250 listener?: PatchListener251 ): Promise<PatchesTuple<Base>>252}253
3 unmodified lines