import { AsyncIterableX } from '../../asynciterable/asynciterablex.js'; import { switchAll } from '../../asynciterable/operators/switchall.js'; /** * @ignore */ export function switchAllProto(this: AsyncIterableX>) { return switchAll()(this); } AsyncIterableX.prototype.switchAll = switchAllProto; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX { switchAll: typeof switchAllProto; } }