chore: set minimum TS version to v4.5 (#14542)

This commit is contained in:
Simen Bekkhus 2023-09-19 13:21:25 +02:00 committed by GitHub
parent 180bc8b762
commit 9b7af034ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View File

@ -49,7 +49,7 @@ jobs:
run: yarn test-ts --selectProjects ts-integration
- name: type tests
run: yarn test-ts --selectProjects type-tests
- name: verify TypeScript@4.3 compatibility
- name: verify TypeScript@5.0 compatibility
run: yarn verify-old-ts
- name: run ESLint with type info
run: yarn lint-ts-files

View File

@ -16,6 +16,7 @@
### Chore & Maintenance
- `[*]` [**BREAKING**] Drop support for Node.js versions 14 and 19 ([#14460](https://github.com/jestjs/jest/pull/14460))
- `[*]` [**BREAKING**] Drop support for `typescript@4.3`, minimum version is now `5.0` ([#14542](https://github.com/facebook/jest/pull/14542), [#12648](https://github.com/facebook/jest/pull/12648))
- `[jest-cli, jest-config, @jest/types]` [**BREAKING**] Remove deprecated `--init` argument ([#14490](https://github.com/jestjs/jest/pull/14490))
## 29.7.0

View File

@ -33,7 +33,7 @@ const tsConfig = {
};
/* eslint-enable */
const tsVersion = '4.3';
const tsVersion = '5.0';
function smoketest() {
const jestDirectory = path.resolve(