Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaly-t committed Aug 3, 2024
1 parent 5dfd784 commit 4bd0512
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ops/concat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ import {isPromiseLike} from '../typeguards';
*/
export function concat<T, Vs extends readonly unknown[]>(
...values: Vs
): Operation<T,
T | (Vs[number] extends UnknownIterableOrIterator<infer U> ? U : never)>;
): Operation<
T,
T | (Vs[number] extends UnknownIterableOrIterator<infer U> ? U : never)
>;

export function concat(...args: unknown[]) {
return createOperation(concatSync, concatAsync, args);
Expand Down Expand Up @@ -116,7 +118,7 @@ function concatAsync<T>(
typeof v?.next === 'function'
? v
: v?.[Symbol.iterator]?.() ||
v?.[Symbol.asyncIterator]?.();
v?.[Symbol.asyncIterator]?.();
start = !k;
if (start) {
return Promise.resolve({value: v, done: false});
Expand Down

0 comments on commit 4bd0512

Please sign in to comment.