Skip to content

chore: Bump tsconfig target from es2016 to es2020#3945

Merged
yurishkuro merged 1 commit into
jaegertracing:mainfrom
yurishkuro:bump-tsconfig-target-es2020
May 22, 2026
Merged

chore: Bump tsconfig target from es2016 to es2020#3945
yurishkuro merged 1 commit into
jaegertracing:mainfrom
yurishkuro:bump-tsconfig-target-es2020

Conversation

@yurishkuro

Copy link
Copy Markdown
Member

Summary

  • Bumps tsconfig.json target from es2016 to es2020 to align with Vite's build target (es2020-era browsers)
  • Removes the mismatch that caused tsc to reject valid modern syntax (e.g. BigInt literals) even though esbuild handles them correctly for targeted browsers
  • No impact on browser compatibility — esbuild (via Vite) controls the final output target, not tsc

Fixes #3944

Test plan

  • npm run lint passes (tsc-lint included)
  • npm test passes
  • npm run build succeeds

🤖 Generated with Claude Code

Aligns the TypeScript syntax target with Vite's build target
(es2020-era browsers). The mismatch was causing tsc to reject valid
modern syntax like BigInt literals even though esbuild handles them
correctly for the targeted browsers.

Fixes jaegertracing#3944

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Yuri Shkuro <github@ysh.us>
@yurishkuro yurishkuro requested a review from a team as a code owner May 22, 2026 15:06
Copilot AI review requested due to automatic review settings May 22, 2026 15:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@yurishkuro yurishkuro added the changelog:bugfix-or-minor-feature 🐞 Bug fixes, Minor Improvements label May 22, 2026
@codecov

codecov Bot commented May 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.83%. Comparing base (900c494) to head (256a5ca).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3945   +/-   ##
=======================================
  Coverage   90.83%   90.83%           
=======================================
  Files         336      336           
  Lines       10473    10473           
  Branches     2747     2747           
=======================================
  Hits         9513     9513           
  Misses        833      833           
  Partials      127      127           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@yurishkuro yurishkuro merged commit ca5905c into jaegertracing:main May 22, 2026
15 checks passed
@yurishkuro yurishkuro deleted the bump-tsconfig-target-es2020 branch May 22, 2026 15:22
M-DEV-1 pushed a commit to M-DEV-1/jaeger-ui that referenced this pull request May 25, 2026
## Summary

- Bumps `tsconfig.json` `target` from `es2016` to `es2020` to align with
Vite's build target (es2020-era browsers)
- Removes the mismatch that caused tsc to reject valid modern syntax
(e.g. BigInt literals) even though esbuild handles them correctly for
targeted browsers
- No impact on browser compatibility — esbuild (via Vite) controls the
final output target, not tsc

Fixes jaegertracing#3944

## Test plan

- [ ] `npm run lint` passes (tsc-lint included)
- [ ] `npm test` passes
- [ ] `npm run build` succeeds

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Yuri Shkuro <github@ysh.us>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Harizz076 pushed a commit to Harizz076/jaeger-ui that referenced this pull request Jul 4, 2026
## Summary

- Bumps `tsconfig.json` `target` from `es2016` to `es2020` to align with
Vite's build target (es2020-era browsers)
- Removes the mismatch that caused tsc to reject valid modern syntax
(e.g. BigInt literals) even though esbuild handles them correctly for
targeted browsers
- No impact on browser compatibility — esbuild (via Vite) controls the
final output target, not tsc

Fixes jaegertracing#3944

## Test plan

- [ ] `npm run lint` passes (tsc-lint included)
- [ ] `npm test` passes
- [ ] `npm run build` succeeds

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: Yuri Shkuro <github@ysh.us>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:bugfix-or-minor-feature 🐞 Bug fixes, Minor Improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore: Bump tsconfig target from es2016 to es2020

2 participants