Skip to content

Commit

Permalink
fix: Type definition of toHaveClass (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyhallett committed Jul 22, 2024
1 parent fd9ee68 commit 5cc6298
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions types/matchers-standalone.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ interface MatcherReturnType {
}

interface OverloadedMatchers {
toHaveClass: (expected: any, ...rest: string[]) => MatcherReturnType
toHaveClass: (
toHaveClass(expected: any, ...rest: string[]) : MatcherReturnType
toHaveClass(
expected: any,
className: string,
options?: {exact: boolean},
) => MatcherReturnType
) : MatcherReturnType
}

declare namespace matchersStandalone {
Expand Down

0 comments on commit 5cc6298

Please sign in to comment.