Skip to content

Commit

Permalink
Add td.matchers.captor() to type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Moore committed Dec 30, 2016
1 parent fb669c0 commit fd021d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ export interface Matchers {
contains(a: string|any[]|{}): any;
argThat(matcher: Function): any;
not(v: any): any;
captor(): Captor
}

export interface Captor {
capture(): any;
value?: any;
values?: any[];
}

export const matchers: Matchers;
Expand Down

0 comments on commit fd021d8

Please sign in to comment.