UNPKG

@reactivex/ix-esnext-esm

Version:

The Interactive Extensions for JavaScript

1 lines 795 B
{"version":3,"sources":["add/iterable-operators/repeat.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,QAAgB,CAAC,CAAC;IACnE,OAAO,MAAM,CAAI,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC;AAChC,CAAC;AAED,SAAS,CAAC,SAAS,CAAC,MAAM,GAAG,WAAW,CAAC","file":"repeat.js","sourcesContent":["import { IterableX } from '../../iterable/iterablex';\nimport { repeat } from '../../iterable/operators/repeat';\n\n/**\n * @ignore\n */\nexport function repeatProto<T>(this: IterableX<T>, count: number = -1): IterableX<T> {\n return repeat<T>(count)(this);\n}\n\nIterableX.prototype.repeat = repeatProto;\n\ndeclare module '../../iterable/iterablex' {\n interface IterableX<T> {\n repeat: typeof repeatProto;\n }\n}\n"]}