diff --git a/packages/jest-runtime/src/index.ts b/packages/jest-runtime/src/index.ts
index 17f69ced6dc3..c405a1191543 100644
--- a/packages/jest-runtime/src/index.ts
+++ b/packages/jest-runtime/src/index.ts
@@ -2100,13 +2100,11 @@ export default class Runtime {
       });
 
     const setTimeout = (timeout: number) => {
-      // @ts-expect-error: https://github.com/Microsoft/TypeScript/issues/24587
       this._environment.global[testTimeoutSymbol] = timeout;
       return jestObject;
     };
 
     const retryTimes = (numTestRetries: number) => {
-      // @ts-expect-error: https://github.com/Microsoft/TypeScript/issues/24587
       this._environment.global[retryTimesSymbol] = numTestRetries;
       return jestObject;
     };
diff --git a/packages/jest-types/src/Global.ts b/packages/jest-types/src/Global.ts
index 486004f49bea..aed1c4b2a8c9 100644
--- a/packages/jest-types/src/Global.ts
+++ b/packages/jest-types/src/Global.ts
@@ -123,5 +123,5 @@ export interface GlobalAdditions extends TestFrameworkGlobals {
 export interface Global
   extends GlobalAdditions,
     Omit<typeof globalThis, keyof GlobalAdditions> {
-  [extras: string]: unknown;
+  [extras: PropertyKey]: unknown;
 }