From e5dcc963deb276f4011baa3c5b0614a1afabe7e0 Mon Sep 17 00:00:00 2001 From: Nazar Hussain Date: Fri, 19 Jan 2024 16:23:48 +0100 Subject: [PATCH] Fix spelling --- packages/utils/src/promise.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/utils/src/promise.ts b/packages/utils/src/promise.ts index f01490f27521..4d8de0d8654a 100644 --- a/packages/utils/src/promise.ts +++ b/packages/utils/src/promise.ts @@ -137,7 +137,7 @@ export async function resolveOrRacePromises> | never { if (raceTimeoutMs <= resolveTimeoutMs) { - throw new Error("Race time mus tbe greater than resolve time"); + throw new Error("Race time must be greater than resolve time"); } const mutedPromises = promises.map((p) => (p instanceof MutedPromise ? p : new MutedPromise(p)));