Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Jan 19, 2024
1 parent fdbc32c commit e5dcc96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/promise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export async function resolveOrRacePromises<T extends NonEmptyArray<Promise<unkn
}
): Promise<ReturnPromiseWithTuple<T>> | 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)));
Expand Down

0 comments on commit e5dcc96

Please sign in to comment.