Skip to content

Commit ca2b8d5

Browse files
committed
Update tsconfigs
1 parent 527dbee commit ca2b8d5

File tree

10 files changed

+15
-9
lines changed

10 files changed

+15
-9
lines changed

demos/bookstore/global.d.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// See https://github.com/DefinitelyTyped/DefinitelyTyped/discussions/62651
2+
3+
interface ReadableStream<R = any> {
4+
values(options?: { preventCancel?: boolean }): AsyncIterableIterator<R>
5+
[Symbol.asyncIterator](): AsyncIterableIterator<R>
6+
}

packages/fetch-proxy/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["ES2024", "DOM", "DOM.Iterable"],
55
"module": "ES2022",
66
"moduleResolution": "Bundler",
77
"target": "ESNext",

packages/fetch-router/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["ES2024", "DOM", "DOM.Iterable"],
55
"module": "ES2022",
66
"moduleResolution": "Bundler",
77
"target": "ESNext",

packages/file-storage/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["ES2024", "DOM", "DOM.Iterable"],
55
"module": "ES2022",
66
"moduleResolution": "Bundler",
77
"target": "ESNext",

packages/form-data-parser/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["ES2024", "DOM", "DOM.Iterable"],
55
"module": "ES2022",
66
"moduleResolution": "Bundler",
77
"target": "ESNext",

packages/headers/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["ES2024", "DOM", "DOM.Iterable"],
55
"module": "ES2022",
66
"moduleResolution": "Bundler",
77
"target": "ESNext",

packages/multipart-parser/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["ES2024", "DOM", "DOM.Iterable"],
55
"module": "ES2022",
66
"moduleResolution": "Bundler",
77
"target": "ESNext",

packages/node-fetch-server/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["ES2024", "DOM", "DOM.Iterable"],
55
"module": "ES2022",
66
"moduleResolution": "Bundler",
77
"target": "ESNext",

packages/route-pattern/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["ES2024", "DOM", "DOM.Iterable"],
55
"module": "ES2022",
66
"moduleResolution": "Bundler",
77
"target": "ESNext",

packages/tar-parser/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"strict": true,
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["ES2024", "DOM", "DOM.Iterable"],
55
"module": "ES2022",
66
"moduleResolution": "Bundler",
77
"target": "ESNext",

0 commit comments

Comments
 (0)