Skip to content

Commit

Permalink
chore(utils): document ParsedExpectMatcher interface
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Aug 10, 2019
1 parent 18015ba commit cc556b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rules/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ interface ParsedExpectMember<
node: Node;
}

/**
* Represents a parsed expect matcher, such as `toBe`, `toContain`, and so on.
*/
export interface ParsedExpectMatcher<
Matcher extends MatcherName = MatcherName,
Node extends ExpectMember<Matcher> = ExpectMember<Matcher>
Expand Down

0 comments on commit cc556b3

Please sign in to comment.