Skip to content

chore(deps): update dependency typescript to v6#83

Closed
SamuelIVX wants to merge 1 commit intomainfrom
renovate/typescript-6.x
Closed

chore(deps): update dependency typescript to v6#83
SamuelIVX wants to merge 1 commit intomainfrom
renovate/typescript-6.x

Conversation

@SamuelIVX
Copy link
Copy Markdown
Owner

@SamuelIVX SamuelIVX commented Mar 24, 2026

This PR contains the following updates:

Package Change Age Confidence
typescript (source) ^5^6.0.0 age confidence

Release Notes

microsoft/TypeScript (typescript)

v6.0.2: TypeScript 6.0

Compare Source

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

Downloads are available on:


Configuration

📅 Schedule: Branch creation - "every weekday" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Summary by CodeRabbit

  • Chores
    • Updated development tooling dependencies.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 24, 2026

📝 Walkthrough

Walkthrough

The TypeScript devDependency version range was updated from ^5 to ^6.0.0 in package.json. This changes the TypeScript compiler version used during development tooling without modifying any other packages, scripts, or configuration.

Changes

Cohort / File(s) Summary
Dependency Updates
package.json
Updated TypeScript devDependency from ^5 to ^6.0.0

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A whisker's twitch, a version leap,
From five to six, the upgrades deep,
TypeScript compiler, fresh and new,
The rabbit's toolkit shines anew! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating TypeScript dependency from v5 to v6, which matches the package.json modification shown in the raw summary.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/typescript-6.x

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown

Super-linter summary

Language Validation result
JSON Pass ✅
MARKDOWN Pass ✅
TYPESCRIPT_ES Pass ✅
YAML Pass ✅

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@package.json`:
- Line 38: TypeScript 6.0 changes the default "types" resolution which can break
builds; update your tsconfig.json by adding an explicit compilerOptions.types
entry to include the needed `@types` packages (for example add "types":
["node","react","react-dom"]) so that Node/React type definitions are picked up;
locate and update the tsconfig.json's compilerOptions section (referencing the
"compilerOptions" object) to add the types array and commit the change.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c3953787-7113-4307-bfe4-4e99eeb1f9a9

📥 Commits

Reviewing files that changed from the base of the PR and between 55f0536 and 1c0aedb.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Lint Code Base

Comment thread package.json
"eslint-plugin-react": "^7.37.5",
"tailwindcss": "^4.1.18",
"typescript": "^5"
"typescript": "^6.0.0"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

TypeScript 6.0 breaking changes and migration guide

💡 Result:

TypeScript 6.0, released on March 17, 2026 (final), is a transition release preparing for TypeScript 7.0, a native Go port of the compiler. It introduces new defaults, deprecations (to be removed in 7.0), and some new features. Most changes align with modern JS ecosystem practices. Key Breaking Changes and New Defaults: - strict now defaults to true (previously false). - target defaults to es2025 (previously ES3). - module defaults to es2022 (resolved from target). - rootDir defaults to the tsconfig.json directory (previously inferred from input files) - set to "./src" if needed. - types defaults to none (previously auto-included all @types/*) - explicitly add e.g. "types": ["node"]. - No auto-discovery of @types in node_modules. Deprecations (silence with "ignoreDeprecations": "6.0" in compilerOptions; won't work in 7.0): - baseUrl (no longer needed with paths; use ts5to6 tool to migrate). - module: amd, umd (use bundlers). - import ... asserts { ... } (use with instead). - /// directive removed. - Running tsc with file args when tsconfig.json exists now errors (use tsc -p .). Other Behavioral Changes: - Type ordering in .d.ts output may differ (use --stableTypeOrdering for 6.0-7.0 comparison). - Improved type inference for methods without this. - Subpath imports (#/... syntax) supported. - es2025 lib/target added. - dom lib now includes dom.iterable. Migration Guide: 1. Update to typescript@latest via npm. 2. Run ts5to6 tool (npx ts5to6) for baseUrl/rootDir fixes. 3. Add explicit "types": ["node"] and "rootDir": "./src". 4. Set "ignoreDeprecations": "6.0" temporarily if needed. 5. Review deprecation warnings and update tsconfig. 6. Test build; use --stableTypeOrdering if comparing to 7.0 previews. Official resources: TypeScript blog posts (beta/RC/announce), GitHub issue #62508 (migration guide), #54500 (deprecation tracking). Comprehensive community guide at privatenumber's gist.

Citations:


🌐 Web query:

Next.js 16 TypeScript 6.0 compatibility

💡 Result:

Next.js 16 is compatible with TypeScript 6.0. Official Next.js 16 documentation specifies a minimum TypeScript version of 5.1.0, and there are no reported incompatibilities or issues with TypeScript 6.0 (released around early 2026). TypeScript 6.0 introduces features and deprecations that align with modern JavaScript ecosystems, and Next.js leverages recent TypeScript capabilities like native next.config.ts support and type generation. Users should upgrade @types/react and @types/react-dom to latest versions when using TypeScript with Next.js 16. No breaking changes specific to TS 6.0 were found in Next.js docs, changelogs, or GitHub issues.

Citations:


🌐 Web query:

TypeScript 6.0.2 known issues

💡 Result:

TypeScript 6.0.2 is a patch release published on npm around March 23, 2026, shortly after the TypeScript 6.0 stable release on the same date. No specific changelog or release notes were found for 6.0.2 on GitHub releases or official blogs, suggesting it contains minor bug fixes typical for patch versions. Known issues for TypeScript 6.0 series (including post-release reports applicable to 6.0.2): - API bug in isSourceFileDefaultLibrary returning false negatives on program structure reuse in watch mode (fixed quickly via PR #63239). - Bloomberg-reported issues: key mapping in mapped types causing contextual typing failures (#63225); inference producing different results (#63227); JS emit removing certain comments; API changes removing hasDefaultLib. - Open recent issues include type narrowing problems with generics (#63259), mechanism for package.json resolution, lib.d.ts Promise.then return type errors (#63244), exactOptionalPropertyTypes errors with object spread ternaries, compiler crashes, inference changes, watch mode emit issues with isolatedModules, and interface extension errors (#63218). - Language service (LS) bugs for 6.0 JS implementation are no longer fixed, as focus shifted to 7.0 native (issue #62827); test scenarios in TypeScript Native Nightly extension. TypeScript 6.0 is in maintenance mode, with development focused on 7.0. Report new issues on GitHub. Deprecations and breaking changes in 6.0 (e.g., module resolutions, alwaysStrict false, outFile removal) may surface as "issues" if unaddressed.

Citations:


🏁 Script executed:

cd /dev/null && pwd
git ls-files | grep -i tsconfig

Repository: SamuelIVX/Deltabase

Length of output: 143


🏁 Script executed:

cat -n tsconfig.json

Repository: SamuelIVX/Deltabase

Length of output: 853


🏁 Script executed:

cat -n package.json | head -60

Repository: SamuelIVX/Deltabase

Length of output: 1429


Add explicit "types" field to tsconfig.json to address TypeScript 6.0 breaking change.

TypeScript 6.0 is compatible with Next.js 16.1.4, but it introduces a breaking change: the "types" field now defaults to none (previously auto-discovered all @types packages). The tsconfig.json must be updated to explicitly include the @types packages in use:

"compilerOptions": {
  ...
  "types": ["node", "react", "react-dom"]
}

Without this, the build will fail with type errors for React, Node.js, and other @types packages.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 38, TypeScript 6.0 changes the default "types"
resolution which can break builds; update your tsconfig.json by adding an
explicit compilerOptions.types entry to include the needed `@types` packages (for
example add "types": ["node","react","react-dom"]) so that Node/React type
definitions are picked up; locate and update the tsconfig.json's compilerOptions
section (referencing the "compilerOptions" object) to add the types array and
commit the change.

@SamuelIVX SamuelIVX closed this Mar 24, 2026
@SamuelIVX
Copy link
Copy Markdown
Owner Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 6.x releases. But if you manually upgrade to 6.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@SamuelIVX SamuelIVX deleted the renovate/typescript-6.x branch March 25, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants