From 95f49691d3472d8187640f1b703209b93c2bcecc Mon Sep 17 00:00:00 2001 From: BIKI DAS Date: Wed, 3 Nov 2021 15:21:03 +0530 Subject: [PATCH] Replaced module with namespace (#12018) --- packages/jest-circus/src/types.ts | 2 +- packages/jest-jasmine2/src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/jest-circus/src/types.ts b/packages/jest-circus/src/types.ts index d381cfec56e1..98f36bf05af5 100644 --- a/packages/jest-circus/src/types.ts +++ b/packages/jest-circus/src/types.ts @@ -21,7 +21,7 @@ export const TEST_TIMEOUT_SYMBOL = Symbol.for( ) as unknown as 'TEST_TIMEOUT_SYMBOL'; declare global { - module NodeJS { + namespace NodeJS { interface Global { STATE_SYM_SYMBOL: Circus.State; RETRY_TIMES_SYMBOL: string; diff --git a/packages/jest-jasmine2/src/types.ts b/packages/jest-jasmine2/src/types.ts index bc131dedaf56..4d0ff244005e 100644 --- a/packages/jest-jasmine2/src/types.ts +++ b/packages/jest-jasmine2/src/types.ts @@ -93,7 +93,7 @@ export type Jasmine = { typeof globalThis; declare global { - module NodeJS { + namespace NodeJS { interface Global { expect: typeof expect; }