Skip to content

Conversation

greggman
Copy link

These 2 constructor overloads appear to be missing. You can find similar overloads for other typed array constructors in es6.d.ts

Fixes #62343

These 2 constructor overloads appear to be missing.
You can find similar overloads for other typed array constructors in `es6.d.ts`
@Copilot Copilot AI review requested due to automatic review settings August 28, 2025 21:50
@github-project-automation github-project-automation bot moved this to Not started in PR Backlog Aug 28, 2025
@typescript-bot typescript-bot added the For Backlog Bug PRs that fix a backlog bug label Aug 28, 2025
Copy link

@Copilot 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 adds missing constructor overloads for the Float16Array type to bring it in line with other typed array constructors. The change ensures type consistency across all typed array types in TypeScript's standard library definitions.

  • Adds Float16Array constructor overloads to match existing patterns for other typed arrays
  • Updates test coverage to include Float16Array in typed array constructor validation

@greggman
Copy link
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
For Backlog Bug PRs that fix a backlog bug
Projects
Status: Not started
Development

Successfully merging this pull request may close these issues.

Float16Array's definition is incompatible with other typedarrays
2 participants