Skip to content
Myr

fix: incorrect return type for async produceWithPatches (#933)

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 285fff9 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/types/types-external.ts+1 added-1 removed
246 unmodified lines
247 <Base, D = Draft<Base>>(248 base: Base,249 recipe: (draft: D) => Promise<ValidRecipeReturnType<Base>>,250 listener?: PatchListener251 ): PatchesTuple<Promise<Base>>251 ): Promise<PatchesTuple<Base>>252}253254// Fixes #507: bili doesn't export the types of this file if there is no actual source in it..255// hopefully it get's tree-shaken away for everyone :)
1 unmodified line