diff --git a/package.json b/package.json
index dab7ced000a7967426951aaecf62da82fc4b55ad..573e96c28004128a0ba53918f12778a16c92e35d 100644
--- a/package.json
+++ b/package.json
@@ -68,7 +68,6 @@
   "devDependencies": {
     "@changesets/cli": "^2.27.1",
     "@playwright/test": "^1.41.1",
-    "@types/global-agent": "^2.1.3",
     "@vercel/ncc": "0.38.1",
     "eslint": "^8.56.0",
     "eslint-config-prettier": "^8.10.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 15215f0a966e16b4a6e634e4f79c4abae463a323..da907277d3a1efe48a713bc8dc7c3ac5ca153464 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -99,9 +99,6 @@ importers:
       '@playwright/test':
         specifier: ^1.41.1
         version: 1.44.0
-      '@types/global-agent':
-        specifier: ^2.1.3
-        version: 2.1.3
       '@vercel/ncc':
         specifier: 0.38.1
         version: 0.38.1
@@ -283,9 +280,6 @@ packages:
   '@types/fs-extra@11.0.4':
     resolution: {integrity: sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==}
 
-  '@types/global-agent@2.1.3':
-    resolution: {integrity: sha512-rGtZZcgZcKWuKNTkGBGsqyOQ7Nn2MjXh4+xeZbf+5b5KMUx8H1rTqLRackxos7pUlreszbYjQcop5JvqCnZlLw==}
-
   '@types/http-cache-semantics@4.0.4':
     resolution: {integrity: sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==}
 
@@ -2265,8 +2259,6 @@ snapshots:
       '@types/jsonfile': 6.1.4
       '@types/node': 20.12.10
 
-  '@types/global-agent@2.1.3': {}
-
   '@types/http-cache-semantics@4.0.4': {}
 
   '@types/jsonfile@6.1.4':
diff --git a/tsconfig.json b/tsconfig.json
index fe148b2e1e3337c8b97448ea100b3091279469ca..e85fc126ec4abb16fe99642ec8c2f62df8e1b5ff 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -19,7 +19,8 @@
     "index.ts",
     "./helpers",
     "questions.ts",
-    "package.json"
+    "package.json",
+    "types/**/*"
   ],
   "exclude": ["dist"]
 }
diff --git a/types/global-agent.d.ts b/types/global-agent.d.ts
index 72260bfa4b311b8b19e1381069bbb4dd0e5c4a50..5112b18ab051b29b461ab50db5e091759ea9f60e 100644
--- a/types/global-agent.d.ts
+++ b/types/global-agent.d.ts
@@ -1,5 +1 @@
-/*types/global-agent.d.ts */
-declare module "global-agent/bootstrap" {
-  const anyType: any;
-  export = anyType;
-}
+declare module "global-agent/bootstrap";