Skip to content

bump typescript to v6#6

Open
rmens wants to merge 1 commit intomainfrom
deps/typescript-6
Open

bump typescript to v6#6
rmens wants to merge 1 commit intomainfrom
deps/typescript-6

Conversation

@rmens
Copy link
Copy Markdown
Contributor

@rmens rmens commented Apr 8, 2026

Summary

  • TypeScript 5 → 6
  • No code/config changes needed: SvelteKit's generated tsconfig already sets types: ["node"] and all other options explicitly
  • Note: openapi-typescript has a peer dep on ^5.x but works fine with TS 6

Test plan

  • Run npm run check locally
  • Run npm run check-all

@rmens rmens force-pushed the deps/typescript-6 branch from f16de3f to d2b49d5 Compare April 8, 2026 17:58
@rmens rmens force-pushed the deps/typescript-6 branch from d2b49d5 to 0429b96 Compare April 8, 2026 18:02
@rmens
Copy link
Copy Markdown
Contributor Author

rmens commented Apr 8, 2026

Blocked on upstream: openapi-typescript@7.x requires typescript@^5.x.

There's an open PR (openapi-ts/openapi-typescript#2711) to widen the peer dep to ^5.x || ^6.0.0, but it hasn't been merged yet. There's also a type-level breaking change in TS6 where Date extends object evaluates to true, which breaks their Readable<T>/Writable<T> helpers (openapi-ts/openapi-typescript#2723).

Parking this until upstream ships TS6 support.

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