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