We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e749eb2 commit 240d402Copy full SHA for 240d402
json-parse-lazy-promise.ts
@@ -77,6 +77,7 @@ export class JSONParseLazyPromise<T, TT = T> implements Promise<T> {
77
mapFn?: ((value: T, i?: 0) => Awaitable<U>) | undefined | null,
78
thisArg?: any
79
): JSONParseLazyPromise<U, TT> {
80
+ // @ts-ignore: types of id function (x => x) not correctly inferred...
81
return new JSONParseLazyPromise(lock, this.#task, pipe(this.#mapFn??id, mapFn??id), thisArg);
82
}
83
0 commit comments