diff --git a/src/Object.ts b/src/Object.ts index d0e1683..c1a2b3c 100644 --- a/src/Object.ts +++ b/src/Object.ts @@ -17,8 +17,8 @@ export function orElse(obj: T | undefined, defaultValue: T | (() => T)): T { return obj != null ? obj : isFunction(defaultValue) - ? defaultValue() - : defaultValue + ? defaultValue() + : defaultValue } export function fromEntries(arr: [string | undefined, any][]) { diff --git a/src/Task.ts b/src/Task.ts index ce03aeb..58a591c 100644 --- a/src/Task.ts +++ b/src/Task.ts @@ -58,8 +58,8 @@ export class Task { return this.#d.pending ? "pending" : this.#d.rejected - ? "rejected" - : "resolved" + ? "rejected" + : "resolved" } onStart(opts: TaskOptions) {