import { IterableX } from '../../iterable/iterablex' ; import { elementAt } from '../../iterable/elementat' ; ignore export function elementAtProto < T > ( this , index ) { return elementAt < T > ( this , index ) ; } IterableX . prototype . elementAt = elementAtProto ; declare module '../../iterable/iterablex' { interface IterableX < T > { elementAt : typeof elementAtProto ; } }