diff --git a/package-lock.json b/package-lock.json
index 3a88a8d9..c730bb8f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17,6 +17,7 @@
         "@actions/http-client": "^2.2.1",
         "@actions/io": "^1.0.2",
         "@actions/tool-cache": "^2.0.2",
+        "@types/ini": "^4.1.1",
         "ini": "^5.0.0",
         "semver": "^7.6.3",
         "uuid": "^9.0.1"
@@ -1682,6 +1683,12 @@
         "@types/node": "*"
       }
     },
+    "node_modules/@types/ini": {
+      "version": "4.1.1",
+      "resolved": "https://registry.npmjs.org/@types/ini/-/ini-4.1.1.tgz",
+      "integrity": "sha512-MIyNUZipBTbyUNnhvuXJTY7B6qNI78meck9Jbv3wk0OgNwRyOOVEKDutAkOs1snB/tx0FafyR6/SN4Ps0hZPeg==",
+      "license": "MIT"
+    },
     "node_modules/@types/istanbul-lib-coverage": {
       "version": "2.0.5",
       "dev": true,
diff --git a/package.json b/package.json
index c894105e..abfbfb7c 100644
--- a/package.json
+++ b/package.json
@@ -34,6 +34,7 @@
     "@actions/io": "^1.0.2",
     "@actions/tool-cache": "^2.0.2",
     "ini": "^5.0.0",
+    "@types/ini": "^4.1.1",
     "semver": "^7.6.3",
     "uuid": "^9.0.1"
   },
diff --git a/src/ini.d.ts b/src/ini.d.ts
deleted file mode 100644
index 896e846d..00000000
--- a/src/ini.d.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-declare module 'ini' {
-  function parse(ini: string): Record<string, string | object>;
-}