Skip to content

Commit 6385abd

Browse files
committed
[hygiene] Move declare
1 parent d03e20c commit 6385abd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

test/unit/common.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
declare global {
2-
// eslint-disable-next-line @typescript-eslint/no-namespace
3-
namespace jest {
4-
interface Matchers<R> {
5-
toEqualWithOrder(expected: any): R;
6-
}
7-
}
8-
}
9-
101
import {
112
Cell,
123
NoSchemas,
@@ -25,6 +16,15 @@ import {
2516
Store,
2617
} from 'tinybase/debug';
2718

19+
declare global {
20+
// eslint-disable-next-line @typescript-eslint/no-namespace
21+
namespace jest {
22+
interface Matchers<R> {
23+
toEqualWithOrder(expected: any): R;
24+
}
25+
}
26+
}
27+
2828
type IdObj<Value> = {[id: string]: Value};
2929
type IdObj2<Value> = IdObj<{[id: string]: Value}>;
3030
type Logs = IdObj<any[]>;

0 commit comments

Comments
 (0)