chore(deps-dev): bump typescript from 5.9.3 to 6.0.3 in the typescript group across 1 directory#344
Conversation
Bumps the typescript group with 1 update in the / directory: [typescript](https://github.com/microsoft/TypeScript). Updates `typescript` from 5.9.3 to 6.0.3 - [Release notes](https://github.com/microsoft/TypeScript/releases) - [Commits](microsoft/TypeScript@v5.9.3...v6.0.3) --- updated-dependencies: - dependency-name: typescript dependency-version: 6.0.3 dependency-type: direct:development update-type: version-update:semver-major dependency-group: typescript ... Signed-off-by: dependabot[bot] <support@github.com>
93b1751 to
6066798
Compare
TS 6 stops auto-loading @types/jest's ambient globals under this project's tsconfig (verified via --traceResolution: @jest/globals resolves but @types/jest is never visited). The bare afterAll on setup.ts was the only non-test file relying on those ambients. Importing afterAll from @jest/globals matches the existing jest import on the same line and works on TS 5 and TS 6.
|
Pushed a follow-up commit on top of the bump ( What broke: TS 6 stops auto-loading Fix: Add CI should go green on the next run. |
The previous fix only addressed the verify (tsc) job, which excludes .test.ts files. ts-jest compiles test files at runtime under its own inline tsconfig and was hitting the same TS 6 ambient-globals regression — every test file's bare jest/describe/it/expect went undeclared. Explicitly listing types: ['jest', 'node'] forces @types/jest's ambient declarations back into ts-jest's scope, restoring the bare globals across all test files without per-file imports. Verified locally: full suite passes (466 tests, 27 suites).
|
Second follow-up commit ( Fix: explicitly list Verified locally: |
Bumps the typescript group with 1 update in the / directory: typescript.
Updates
typescriptfrom 5.9.3 to 6.0.3Release notes
Sourced from typescript's releases.
Commits
050880cBump version to 6.0.3 and LKGeeae9dd🤖 Pick PR #63401 (Also check package name validity in...) into release-6.0 (#...ad1c695🤖 Pick PR #63368 (Harden ATA package name filtering) into release-6.0 (#63372)0725fb4🤖 Pick PR #63310 (Mark class property initializers as...) into release-6.0 (#...607a22aBump version to 6.0.2 and LKG9e72ab7🤖 Pick PR #63239 (Fix missing lib files in reused pro...) into release-6.0 (#...35ff23d🤖 Pick PR #63163 (Port anyFunctionType subtype fix an...) into release-6.0 (#...e175b69Bump version to 6.0.1-rc and LKGaf4caacUpdate LKG8efd7e8Merge remote-tracking branch 'origin/main' into release-6.0