Skip to content

Commit 5cc6298

Browse files
authored
fix: Type definition of toHaveClass (#611)
1 parent fd9ee68 commit 5cc6298

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: types/matchers-standalone.d.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ interface MatcherReturnType {
66
}
77

88
interface OverloadedMatchers {
9-
toHaveClass: (expected: any, ...rest: string[]) => MatcherReturnType
10-
toHaveClass: (
9+
toHaveClass(expected: any, ...rest: string[]) : MatcherReturnType
10+
toHaveClass(
1111
expected: any,
1212
className: string,
1313
options?: {exact: boolean},
14-
) => MatcherReturnType
14+
) : MatcherReturnType
1515
}
1616

1717
declare namespace matchersStandalone {

0 commit comments

Comments
 (0)