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