diff --git a/.changeset/mighty-chicken-own.md b/.changeset/mighty-chicken-own.md new file mode 100644 index 00000000000..7071b1e590c --- /dev/null +++ b/.changeset/mighty-chicken-own.md @@ -0,0 +1,5 @@ +--- +'@whatwg-node/fetch': patch +--- + +Support TypeScript 5.2.2 diff --git a/package.json b/package.json index ca61bc5e723..e2d5d6633e3 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "patch-package": "8.0.0", "prettier": "3.0.3", "ts-jest": "29.1.1", - "typescript": "5.1.6" + "typescript": "5.2.2" }, "resolutions": { "@pulumi/pulumi": "3.90.1" diff --git a/packages/fetch/dist/index.d.ts b/packages/fetch/dist/index.d.ts index 256bad1c28d..a867d8db426 100644 --- a/packages/fetch/dist/index.d.ts +++ b/packages/fetch/dist/index.d.ts @@ -4,10 +4,6 @@ declare type _URLPattern = typeof URLPattern -interface Headers { - getSetCookie?(): string[]; -} - declare module '@whatwg-node/fetch' { export const fetch: typeof globalThis.fetch; export const Request: typeof globalThis.Request; diff --git a/yarn.lock b/yarn.lock index 6ecc8f45fbc..1f3d6a39233 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8655,6 +8655,11 @@ typescript@5.1.6: resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274" integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA== +typescript@5.2.2: + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== + typescript@~3.8.3: version "3.8.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" @@ -8662,7 +8667,6 @@ typescript@~3.8.3: uWebSockets.js@uNetworking/uWebSockets.js#v20.27.0: version "20.27.0" - uid "666954999fb67b303c6bc11b577599d51aa39e7c" resolved "https://codeload.github.com/uNetworking/uWebSockets.js/tar.gz/666954999fb67b303c6bc11b577599d51aa39e7c" unbox-primitive@^1.0.2: