Description: fix typescript deprecation
Author: Yadd <yadd@debian.org>
Bug-Debian: https://bugs.debian.org/1114230
Forwarded: not-needed
Last-Update: 2025-09-27

--- a/src/config.ts
+++ b/src/config.ts
@@ -159,6 +159,7 @@
   return configParseResult;
 }
 
+// @ts-ignore
 const extendedConfigCache = new Map() as typescript.Map<typescript.ExtendedConfigCacheEntry>;
 export function getParsedCommandLine(
   compiler: typeof typescript,
--- a/src/index.ts
+++ b/src/index.ts
@@ -159,6 +159,7 @@
 function getOptionsHash(loaderOptions: LoaderOptions) {
   const hash = crypto.createHash('sha256');
   Object.keys(loaderOptions).forEach(key => {
+// @ts-ignore
     const value = loaderOptions[key];
     if (value !== undefined) {
       const valueString =
--- a/src/tsconfig.json
+++ b/src/tsconfig.json
@@ -5,7 +5,6 @@
     "noImplicitReturns": true,
     "noUnusedLocals": true,
     "noUnusedParameters": true,
-    "suppressImplicitAnyIndexErrors": true,
     "strict": true,
     "module": "commonjs",
     "moduleResolution": "node",
--- a/test/execution-tests/1.8.2_babel-allowSyntheticDefaultImports/tsconfig.json
+++ b/test/execution-tests/1.8.2_babel-allowSyntheticDefaultImports/tsconfig.json
@@ -7,7 +7,6 @@
     "noImplicitAny": true,
     "preserveConstEnums": true,
     "removeComments": false,
-    "suppressImplicitAnyIndexErrors": true,
     "target": "es2015"
   }
-}
\ No newline at end of file
+}
--- a/test/execution-tests/2.1.4_babel-es2016/tsconfig.json
+++ b/test/execution-tests/2.1.4_babel-es2016/tsconfig.json
@@ -9,7 +9,6 @@
     "noImplicitAny": true,
     "preserveConstEnums": true,
     "removeComments": false,
-    "suppressImplicitAnyIndexErrors": true,
     "target": "es2016"
   }
-}
\ No newline at end of file
+}
--- a/test/execution-tests/babel-es2015/tsconfig.json
+++ b/test/execution-tests/babel-es2015/tsconfig.json
@@ -4,7 +4,6 @@
     "noImplicitAny": true,
     "preserveConstEnums": true,
     "removeComments": false,
-    "suppressImplicitAnyIndexErrors": true,
     "target": "es6"
   }
-}
\ No newline at end of file
+}
