Skip to content

Commit

Permalink
feat(api): add StatefulPredicate
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jan 28, 2018
1 parent 7b21aa6 commit c74353b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/api/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,8 @@ export interface IObjectOf<T> {

export type Predicate<T> = (x: T) => boolean;

export type StatefulPredicate<T> = () => Predicate<T>;

export interface IRelease {
release(opt?: any): boolean;
}
Expand Down

0 comments on commit c74353b

Please sign in to comment.