{"version":3,"sources":["add/asynciterable-operators/withlatestfrom.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAC;AAwC3F,MAAM,UAAU,mBAAmB,CAEjC,GAAG,IAAW;IAEd,OAAO,IAAI,2BAA2B,CAAI,IAAI,EAAE,IAAI,CAAC,CAAC;AACxD,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,cAAc,GAAG,mBAAmB,CAAC","file":"withlatestfrom.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { WithLatestFromAsyncIterable } from '../../asynciterable/operators/withlatestfrom';\n\n/**\n * @ignore\n */\nexport function withLatestFromProto<T, T2>(\n  this: AsyncIterableX<T>,\n  source2: AsyncIterable<T2>\n): AsyncIterableX<[T, T2]>;\nexport function withLatestFromProto<T, T2, T3>(\n  this: AsyncIterableX<T>,\n  source2: AsyncIterable<T2>,\n  source3: AsyncIterable<T3>\n): AsyncIterableX<[T, T2, T3]>;\nexport function withLatestFromProto<T, T2, T3, T4>(\n  this: AsyncIterableX<T>,\n  source2: AsyncIterable<T2>,\n  source3: AsyncIterable<T3>,\n  source4: AsyncIterable<T4>\n): AsyncIterableX<[T, T2, T3, T4]>;\nexport function withLatestFromProto<T, T2, T3, T4, T5>(\n  this: AsyncIterableX<T>,\n  source2: AsyncIterable<T2>,\n  source3: AsyncIterable<T3>,\n  source4: AsyncIterable<T4>,\n  source5: AsyncIterable<T5>\n): AsyncIterableX<[T, T2, T3, T4, T5]>;\nexport function withLatestFromProto<T, T2, T3, T4, T5, T6>(\n  this: AsyncIterableX<T>,\n  source2: AsyncIterable<T2>,\n  source3: AsyncIterable<T3>,\n  source4: AsyncIterable<T4>,\n  source5: AsyncIterable<T5>,\n  source6: AsyncIterable<T6>\n): AsyncIterableX<[T, T2, T3, T4, T5, T6]>;\nexport function withLatestFromProto<T>(\n  this: AsyncIterableX<T>,\n  ...sources: AsyncIterableX<T>[]\n): AsyncIterableX<T[]>;\n\nexport function withLatestFromProto<T>(\n  this: AsyncIterableX<T>,\n  ...args: any[]\n): AsyncIterableX<T[]> {\n  return new WithLatestFromAsyncIterable<T>(this, args);\n}\n\nAsyncIterableX.prototype.withLatestFrom = withLatestFromProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n  interface AsyncIterableX<T> {\n    withLatestFrom: typeof withLatestFromProto;\n  }\n}\n"]}