UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

1 lines 776 B
{"version":3,"sources":["add/iterable-operators/expand.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AAEzD;;GAEG;AACH,MAAM,UAAU,WAAW,CAAwB,EAA6B;IAC9E,OAAO,MAAM,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC;AAC1B,CAAC;AAED,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,WAAW,CAAC","file":"expand.js","sourcesContent":["import { IterableX } from '../../iterable/iterablex';\nimport { expand } from '../../iterable/operators/expand';\n\n/**\n * @ignore\n */\nexport function expandProto<T>(this: IterableX<T>, fn: (value: T) => Iterable<T>) {\n return expand(fn)(this);\n}\n\nIterableX.prototype.expand = expandProto;\n\ndeclare module '../../iterable/iterablex' {\n interface IterableX<T> {\n expand: typeof expandProto;\n }\n}\n"]}