Skip to content

Upgrade bundled TypeScript declarations to 6.0.3 - #1311

Merged
nickna merged 1 commit into
mainfrom
codex/issue-1305-typescript-6.0.3
Jul 28, 2026
Merged

Upgrade bundled TypeScript declarations to 6.0.3#1311
nickna merged 1 commit into
mainfrom
codex/issue-1305-typescript-6.0.3

Conversation

@nickna

@nickna nickna commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • pin external/typescript and TypeScriptLibProvider.CompilerVersion to v6.0.3
  • synchronize all 108 upstream lib*.d.ts files and the license, with an LF-stable SHA-256 manifest and repeatable update/check script
  • support TypeScript 6 iterator rest binding patterns and test every bundled graph plus DOM/WebWorker combinations
  • regenerate and review the v6.0.3 conformance baseline, add ES2024/ES2025 target selection, and document the preserved SharpTS defaults

Baseline review

The v6.0.3 baseline has 514 entries (151 Pass, 214 Fail, 141 ParseError, 8 Skipped). Relative to v5.5.4 it adds 8 paths, removes 1, and changes 183 common-path outcomes. Of those 183, 174 have changed upstream test sources; the remaining 9 all gained or changed upstream tsc error baselines.

Validation

  • ./scripts/sync-typescript-libs.ps1
  • dotnet build SharpTS.sln --configuration Release --no-restore
  • dotnet test SharpTS.Tests/SharpTS.Tests.csproj --configuration Release --no-build --filter "Category!=LiveNetwork&Category!=LoadSensitive" (16,198 passed)
  • dotnet test SharpTS.TypeScriptConformance/SharpTS.TypeScriptConformance.csproj --no-restore (45 passed)
  • clean detached worktree with external/typescript uninitialized: dotnet build SharpTS.csproj --configuration Release --no-restore

Closes #1305

@nickna
nickna merged commit 560072b into main Jul 28, 2026
2 checks passed
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.

Upgrade bundled TypeScript declarations and conformance pin to 6.0.3

1 participant