import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { count } from '../../asynciterable/count' ; import { OptionalFindOptions } from '../../asynciterable/findoptions' ; ignore export function countProto < T > ( this , options ? ) { return count < T > ( this , options ) ; } AsyncIterableX . prototype . count = countProto ; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { count : typeof countProto ; } }