Skip to content

Commit ef0b7b2

Browse files
TkDodoarnoud-dvlachlancollins
authored
chore: typescript 5.7 (#8327)
* chore: typescript 5.7 and run tests against ts 5.0 - 5.7 * chore: make eslint happy * chore: type import issue * chore: the type assertion is necessary for ts 5.4 and lower * fix: write code so that it narrows in all ts versions * fix: import assertion * fix: angular examples stay at typescript 5.4 * Add JSON import attribute, update vue-tsc * angular fixes * Fix vue-tsc compatibility --------- Co-authored-by: Arnoud de Vries <[email protected]> Co-authored-by: Lachlan Collins <[email protected]>
1 parent ecc17d5 commit ef0b7b2

File tree

83 files changed

+900
-669
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+900
-669
lines changed

.github/renovate.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,14 @@
2626
"react-dom",
2727
"tsup",
2828
"typescript",
29-
"typescript47",
30-
"typescript48",
31-
"typescript49",
3229
"typescript50",
3330
"typescript51",
3431
"typescript52",
32+
"typescript53",
33+
"typescript54",
34+
"typescript55",
35+
"typescript56",
36+
"typescript57",
3537
"vue",
3638
"vue-tsc",
3739
"vue2",

examples/angular/basic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"@angular-devkit/build-angular": "^17.3.8",
2424
"@angular/cli": "^17.3.8",
2525
"@angular/compiler-cli": "^17.3.12",
26-
"typescript": "5.3.3"
26+
"typescript": "5.4.5"
2727
}
2828
}

examples/angular/devtools-panel/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"@angular/platform-browser": "^17.3.12",
1616
"@angular/platform-browser-dynamic": "^17.3.12",
1717
"@angular/router": "^17.3.12",
18-
"@tanstack/angular-query-experimental": "^5.61.3",
1918
"@tanstack/angular-query-devtools-experimental": "^5.61.3",
19+
"@tanstack/angular-query-experimental": "^5.61.3",
2020
"rxjs": "^7.8.1",
2121
"tslib": "^2.6.3",
2222
"zone.js": "^0.14.8"
@@ -25,6 +25,6 @@
2525
"@angular-devkit/build-angular": "^17.3.8",
2626
"@angular/cli": "^17.3.8",
2727
"@angular/compiler-cli": "^17.3.12",
28-
"typescript": "5.3.3"
28+
"typescript": "5.4.5"
2929
}
3030
}

examples/angular/infinite-query-with-max-pages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"@angular-devkit/build-angular": "^17.3.8",
2424
"@angular/cli": "^17.3.8",
2525
"@angular/compiler-cli": "^17.3.12",
26-
"typescript": "5.3.3"
26+
"typescript": "5.4.5"
2727
}
2828
}

examples/angular/pagination/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"@angular-devkit/build-angular": "^17.3.8",
2424
"@angular/cli": "^17.3.8",
2525
"@angular/compiler-cli": "^17.3.12",
26-
"typescript": "5.3.3"
26+
"typescript": "5.4.5"
2727
}
2828
}

examples/angular/query-options-from-a-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
"@angular-devkit/build-angular": "^17.3.8",
2525
"@angular/cli": "^17.3.8",
2626
"@angular/compiler-cli": "^17.3.12",
27-
"typescript": "5.3.3"
27+
"typescript": "5.4.5"
2828
}
2929
}

examples/angular/router/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
"@angular-devkit/build-angular": "^17.3.8",
2525
"@angular/cli": "^17.3.8",
2626
"@angular/compiler-cli": "^17.3.12",
27-
"typescript": "5.3.3"
27+
"typescript": "5.4.5"
2828
}
2929
}

examples/angular/rxjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@
2424
"@angular-devkit/build-angular": "^17.3.8",
2525
"@angular/cli": "^17.3.8",
2626
"@angular/compiler-cli": "^17.3.12",
27-
"typescript": "5.3.3"
27+
"typescript": "5.4.5"
2828
}
2929
}

examples/angular/simple/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"@angular-devkit/build-angular": "^17.3.8",
2424
"@angular/cli": "^17.3.8",
2525
"@angular/compiler-cli": "^17.3.12",
26-
"typescript": "5.3.3"
26+
"typescript": "5.4.5"
2727
}
2828
}

examples/react/algolia/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"@types/react": "^18.2.79",
2121
"@types/react-dom": "^18.2.25",
2222
"@vitejs/plugin-react": "^4.3.3",
23-
"typescript": "5.3.3",
23+
"typescript": "5.7.2",
2424
"vite": "^5.3.5"
2525
}
2626
}

0 commit comments

Comments
 (0)