From 0950cb90f2641952a44df5351c573da43f6bdb35 Mon Sep 17 00:00:00 2001 From: Marcus Schiesser <mail@marcusschiesser.de> Date: Wed, 22 May 2024 11:50:34 +0200 Subject: [PATCH] fix: global-agent types --- package.json | 1 - pnpm-lock.yaml | 8 -------- tsconfig.json | 3 ++- types/global-agent.d.ts | 6 +----- 4 files changed, 3 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index dab7ced0..573e96c2 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 15215f0a..da907277 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 fe148b2e..e85fc126 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 72260bfa..5112b18a 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"; -- GitLab