@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
1 lines • 883 B
Source Map (JSON)
{"version":3,"sources":["add/asynciterable-operators/expand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAC;AAE9D;;GAEG;AACH,MAAM,UAAU,WAAW,CAEzB,QAAoE;IAEpE,OAAO,MAAM,CAAI,QAAQ,CAAC,CAAC,IAAI,CAAC,CAAC;AACnC,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,MAAM,GAAG,WAAW,CAAC","file":"expand.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { expand } from '../../asynciterable/operators/expand';\n\n/**\n * @ignore\n */\nexport function expandProto<T>(\n this: AsyncIterableX<T>,\n selector: (value: T) => AsyncIterable<T> | Promise<AsyncIterable<T>>\n) {\n return expand<T>(selector)(this);\n}\n\nAsyncIterableX.prototype.expand = expandProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n interface AsyncIterableX<T> {\n expand: typeof expandProto;\n }\n}\n"]}