From 9f7623d43466bd3b705099f0c825cb00670a9214 Mon Sep 17 00:00:00 2001 From: Myles J Date: Wed, 11 May 2022 18:41:28 +0100 Subject: [PATCH] fix: incorrect return type for async produceWithPatches (#933) --- src/types/types-external.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/types-external.ts b/src/types/types-external.ts index 08ccbea9..934a70e4 100644 --- a/src/types/types-external.ts +++ b/src/types/types-external.ts @@ -248,7 +248,7 @@ export interface IProduceWithPatches { base: Base, recipe: (draft: D) => Promise>, listener?: PatchListener - ): PatchesTuple> + ): Promise> } // Fixes #507: bili doesn't export the types of this file if there is no actual source in it..