@reactivex/ix-esnext-esm
Version:
The Interactive Extensions for JavaScript
1 lines • 815 B
Source Map (JSON)
{"version":3,"sources":["add/asynciterable-operators/flat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AACpE,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAE1D;;GAEG;AACH,MAAM,UAAU,SAAS,CAA6B,KAAc;IAClE,OAAO,IAAI,CAAI,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;AAC9B,CAAC;AAED,cAAc,CAAC,SAAS,CAAC,IAAI,GAAG,SAAS,CAAC","file":"flat.js","sourcesContent":["import { AsyncIterableX } from '../../asynciterable/asynciterablex';\nimport { flat } from '../../asynciterable/operators/flat';\n\n/**\n * @ignore\n */\nexport function flatProto<T>(this: AsyncIterableX<T>, depth?: number): AsyncIterableX<T> {\n return flat<T>(depth)(this);\n}\n\nAsyncIterableX.prototype.flat = flatProto;\n\ndeclare module '../../asynciterable/asynciterablex' {\n interface AsyncIterableX<T> {\n flat: typeof flatProto;\n }\n}\n"]}