import { AsyncIterableX } from '../../asynciterable/asynciterablex' ; import { takeWhile } from '../../asynciterable/operators/takewhile' ; ignore export function takeWhileProto < T , S extends T > ( this , predicate ) ; export function takeWhileProto < T > ( this , predicate ) ; export function takeWhileProto < T > ( this , predicate ) { return takeWhile < T > ( predicate ) ( this ) ; } AsyncIterableX . prototype . takeWhile = takeWhileProto ; declare module '../../asynciterable/asynciterablex' { interface AsyncIterableX < T > { takeWhile : typeof takeWhileProto ; } }