Skip to content

Bump typescript from 5.9.3 to 7.0.2 - #2

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2
Sep 21, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
dependabot/npm_and_yarn/typescript-7.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Bumps typescript from 5.9.3 to 7.0.2.

Release notes

Sourced from typescript's releases.

TypeScript 7.0.2

https://devblogs.microsoft.com/typescript/announcing-typescript-7-0/

This tag was originally released at: https://github.com/microsoft/typescript-go/releases/tag/typescript%2Fv7.0.2

TypeScript 6.0.3

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0.1 RC

For release notes, check out the release announcement blog post.

Downloads are available on:

TypeScript 6.0 Beta

For release notes, check out the release announcement.

Downloads are available on:

Commits
  • 1e4744d Merge branch 'main' into ts7-release
  • a5a219cmicrosoft/typescript-go#4558
  • ecfe30d Update status localization
  • 5de25b5 Hide executable name in TypeScript status
  • d7ce74a Show bundled TypeScript version for packaged servers
  • 29be66a Correct TS 7 release version to 7.0.2
  • ed2bd1b Merge branch 'main' into ts7-release
  • 8873075 Bump the github-actions group across 1 directory with 3 updates (microsoft/ty...
  • 9427131 Set up stable / nightly extension split, other prep (microsoft/typescript-go#...
  • d4eaca5microsoft/typescript-go#4549
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by microsoft1es, a new releaser for typescript since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 11, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch 2 times, most recently from d1432e2 to fac99e7 Compare September 18, 2026 12:12
systemslibrarian added a commit that referenced this pull request Sep 21, 2026
…olves

src/main.ts opens with `import './style.css';` and nothing in the project
declared what that module is. TypeScript 5.9 tolerated the undeclared
side-effect import; TypeScript 7 does not, and Dependabot PR #2 (5.9.3 ->
7.0.2) has failed the build step since 2026-09-11 with

  src/main.ts(1,8): error TS2882: Cannot find module or type declarations
  for side-effect import of './style.css'.

The bug was ours, not the bump's. vite ships `declare module '*.css' {}`
in vite/client.d.ts; the project simply never referenced it, having neither
a vite-env.d.ts nor "types": ["vite/client"] in tsconfig.json. One ambient
reference file is the conventional fix and is what a Vite scaffold emits.

Left unfixed, the lab could not take the TypeScript major at all: the PR
would sit red forever, auto-merge would keep skipping it (correctly), and
every later npm bump grouped behind it would queue up untested. The gate
was never weakened to hide this - the build failed and the deploy and
auto-merge jobs both skipped, which is the honest outcome - but a gate that
stays red for a defect in our own source is a gate nobody can act on.

Verified against the exact bump in an isolated tree: with typescript@7.0.2
installed, `tsc` reproduced TS2882 before this file and exits 0 after it,
and `npm run build` completes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UH9YUUhdeWXJz141Zy8FxW
@systemslibrarian

Copy link
Copy Markdown
Owner

@dependabot rebase

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.9.3 to 7.0.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](microsoft/TypeScript@v5.9.3...v7.0.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/typescript-7.0.2 branch from fac99e7 to 133683e Compare September 21, 2026 07:49
@github-actions
github-actions Bot merged commit 1b56885 into main Sep 21, 2026
3 checks passed
@github-actions
github-actions Bot deleted the dependabot/npm_and_yarn/typescript-7.0.2 branch September 21, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant