- 
                Notifications
    
You must be signed in to change notification settings  - Fork 74
 
Open
Description
The most generic AsyncIterableX.pipe overload
IxJS/src/asynciterable/asynciterablex.ts
Line 447 in 4a1d9c8
| pipe(...operations: OperatorAsyncFunction<any, any>[]): AsyncIterableX<any>; | 
The following function exhibits this behavior:
import { of } from 'ix/asynciterable/index.js';
import { map, tap } from 'ix/asynciterable/operators/index.js';
export function subscribe(): AsyncIterable<{ brand: 'X' }> {
   return of(undefined).pipe(
      map(event => ({ brand: 'Y' })),
      tap()
   );
}The overload should be removed or at the very least should return an AsyncIterableX of unknown.
Metadata
Metadata
Assignees
Labels
No labels