Skip to content

Commit 2d22d64

Browse files
tristanMatthiasMicheleBertoli
authored andcommitted
fix: 179 (#214)
1 parent 8eac90b commit 2d22d64

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

typings/index.d.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
1-
interface AsymmetricMatcher {
2-
$$typeof: Symbol;
3-
sample?: string | RegExp | object | Array<any> | Function;
4-
}
1+
declare namespace jest {
2+
interface AsymmetricMatcher {
3+
$$typeof: Symbol;
4+
sample?: string | RegExp | object | Array<any> | Function;
5+
}
56

6-
type Value = string | number | RegExp | AsymmetricMatcher | undefined;
7+
type Value = string | number | RegExp | AsymmetricMatcher | undefined;
78

8-
interface Options {
9-
media?: string;
10-
modifier?: string;
11-
supports?: string;
12-
}
13-
14-
declare namespace jest {
9+
interface Options {
10+
media?: string;
11+
modifier?: string;
12+
supports?: string;
13+
}
1514

1615
interface Matchers<R> {
1716
toHaveStyleRule(property: string, value?: Value, options?: Options): R;

0 commit comments

Comments
 (0)