Skip to content

Bump Typescript to 6 - #252

Open
mt-btanner wants to merge 4 commits into
masterfrom
typescript-bump
Open

Bump Typescript to 6#252
mt-btanner wants to merge 4 commits into
masterfrom
typescript-bump

Conversation

@mt-btanner

@mt-btanner mt-btanner commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Bumps Typescript to 6 to resolve some peer dependency warnings (ts-jest) which then required bumping related packages. This moves us to the latest versions of those packages (or the latest non-Go version in Typescript's case).

Test changes are mostly straightforward exchanges of a deprecated matcher for the new one, but there is one change which required a change to application code.

In the latest JSDom version you can't modify window anymore, so tests which relied on spying on that don't work. To avoid this I created a hasWindow helper (which can be spied on) and replaced the !window checks with it.

@mt-btanner mt-btanner self-assigned this Jul 29, 2026
@mt-btanner
mt-btanner requested review from a team as code owners July 29, 2026 07:39
@mt-btanner mt-btanner changed the title Bunp Typescript to 6 Bump Typescript to 6 Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant