Skip to content

Commit 95f4969

Browse files
authored
Replaced module with namespace (#12018)
1 parent 9301c73 commit 95f4969

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/jest-circus/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const TEST_TIMEOUT_SYMBOL = Symbol.for(
2121
) as unknown as 'TEST_TIMEOUT_SYMBOL';
2222

2323
declare global {
24-
module NodeJS {
24+
namespace NodeJS {
2525
interface Global {
2626
STATE_SYM_SYMBOL: Circus.State;
2727
RETRY_TIMES_SYMBOL: string;

packages/jest-jasmine2/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export type Jasmine = {
9393
typeof globalThis;
9494

9595
declare global {
96-
module NodeJS {
96+
namespace NodeJS {
9797
interface Global {
9898
expect: typeof expect;
9999
}

0 commit comments

Comments
 (0)