Skip to content

Commit

Permalink
add skipAfter to type-definitions (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchase authored and briancavalier committed Apr 25, 2017
1 parent 0eff565 commit 94a61c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions type-definitions/most.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export interface Stream<A> extends Source<A> {
skip(n: number): Stream<A>;
takeWhile(p: (a: A) => boolean): Stream<A>;
skipWhile(p: (a: A) => boolean): Stream<A>;
skipAfter(p: (a: A) => boolean): Stream<A>;
slice(start: number, end: number): Stream<A>;

until(signal: Stream<any>): Stream<A>;
Expand Down Expand Up @@ -318,6 +319,7 @@ export function take<A>(n: number, s: Stream<A>): Stream<A>;
export function skip<A>(n: number, s: Stream<A>): Stream<A>;
export function takeWhile<A>(p: (a: A) => boolean, s: Stream<A>): Stream<A>;
export function skipWhile<A>(p: (a: A) => boolean, s: Stream<A>): Stream<A>;
export function skipAfter<A>(p: (a: A) => boolean, s: Stream<A>): Stream<A>;
export function slice<A>(start: number, end: number, s: Stream<A>): Stream<A>;

export function until<A>(signal: Stream<any>, s: Stream<A>): Stream<A>;
Expand Down

0 comments on commit 94a61c7

Please sign in to comment.