Skip to content

Commit

Permalink
Replaced module with namespace (#12018)
Browse files Browse the repository at this point in the history
  • Loading branch information
Biki-das authored Nov 3, 2021
1 parent 9301c73 commit 95f4969
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/jest-circus/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-jasmine2/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export type Jasmine = {
typeof globalThis;

declare global {
module NodeJS {
namespace NodeJS {
interface Global {
expect: typeof expect;
}
Expand Down

0 comments on commit 95f4969

Please sign in to comment.