Skip to content

Fix missing typedarrays lib#2695

Merged
jakebailey merged 1 commit intomainfrom
jabaile/fix-libs
Feb 5, 2026
Merged

Fix missing typedarrays lib#2695
jakebailey merged 1 commit intomainfrom
jabaile/fix-libs

Conversation

@jakebailey
Copy link
Member

@jakebailey jakebailey commented Feb 5, 2026

Finishes porting microsoft/TypeScript#61696, which I meant to do in #2689 but apparently missed. Needed because otherwise esnext is broken. Oops.

Copilot AI review requested due to automatic review settings February 5, 2026 18:38
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR completes the porting of TypeScript PR #61696 by adding the missing esnext.typedarrays library mapping. The change was previously started in PR #2689 when targeting TS 6.0 behavior, but the library mapping was inadvertently omitted.

Changes:

  • Added esnext.typedarrays library mapping to the TypeScript compiler options
  • Updated test baselines to reflect the newly available library option

Reviewed changes

Copilot reviewed 23 out of 23 changed files in this pull request and generated no comments.

File Description
internal/tsoptions/enummaps.go Added esnext.typedarrayslib.esnext.typedarrays.d.ts mapping to LibMap
internal/compiler/program_test.go Added lib.esnext.typedarrays.d.ts to the esnextLibs test list
Multiple baseline files Updated help text, error messages, and symbol resolution to include esnext.typedarrays
libCompileChecks.errors.txt Removed - error about missing lib definition is now resolved

@jakebailey jakebailey enabled auto-merge February 5, 2026 18:41
@jakebailey jakebailey added this pull request to the merge queue Feb 5, 2026
Merged via the queue into main with commit f801959 Feb 5, 2026
27 checks passed
@jakebailey jakebailey deleted the jabaile/fix-libs branch February 5, 2026 19:16
Copilot AI pushed a commit that referenced this pull request Feb 25, 2026
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.

4 participants