From 1fa0f9edf2b856eba603c3af98db2c8664b38323 Mon Sep 17 00:00:00 2001 From: Max Edell Date: Mon, 1 Apr 2024 13:43:01 -0700 Subject: [PATCH] fix(types): unrwap processqueue promises --- packages/helix-shared-process-queue/src/process-queue.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/helix-shared-process-queue/src/process-queue.d.ts b/packages/helix-shared-process-queue/src/process-queue.d.ts index db7849da..c10dbba8 100644 --- a/packages/helix-shared-process-queue/src/process-queue.d.ts +++ b/packages/helix-shared-process-queue/src/process-queue.d.ts @@ -59,7 +59,7 @@ export declare type ProcessQueueHandler< export default function processQueue< TQueue extends Queue, THandler extends ProcessQueueHandler, - TReturn = ReturnType + TReturn = ReturnType extends PromiseLike ? U : ReturnType >( queue: TQueue, fn: THandler,