UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

1 lines 836 B
{"version":3,"sources":["add/asynciterable-operators/endwith.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAEhE;;GAEG;AACH,MAAM,UAAU,YAAY,CAA6B,GAAG,IAAS;IACnE,OAAO,OAAO,CAAI,GAAG,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,OAAO,GAAG,YAAY,CAAC","file":"endwith.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { endWith } from '../../asynciterable/operators/endwith';\n\n/**\n * @ignore\n */\nexport function endWithProto<T>(this: AsyncIterableX<T>, ...args: T[]) {\n return endWith<T>(...args)(this);\n}\n\nAsyncIterableX.prototype.endWith = endWithProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n interface AsyncIterableX<T> {\n endWith: typeof endWithProto;\n }\n}\n"]}