Uh oh!
There was an error while loading. Please reload this page.
Add missing Float16Array constructors - #62351
Conversation
There was a problem hiding this comment.
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
Float16Arrayconstructor overloads to match existing patterns for other typed arrays - Updates test coverage to include
Float16Arrayin typed array constructor validation
Greggman (greggman)
commented
Aug 28, 2025
@microsoft-github-policy-service agree |
Jake Bailey (jakebailey)
commented
Sep 9, 2025
This LGTM but needs a format to be accepted. |
These 2 constructor overloads appear to be missing. You can find similar overloads for other typed array constructors in `es6.d.ts`
Greggman (greggman)
commented
Sep 9, 2025
ran |
Jake Bailey (jakebailey)
commented
Sep 9, 2025
TypeScript Bot (@typescript-bot) test it probably won't say anything interesting, but |
Jake Bailey (jakebailey)
commented
Sep 9, 2025
TypeScript Bot (@typescript-bot) cherry-pick this to release-5.9 |
TypeScript Bot (typescript-bot)
commented
Sep 9, 2025
Hey, Jake Bailey (@jakebailey)! I've created #62426 for you. |
TypeScript Bot (typescript-bot)
commented
Sep 9, 2025
Hey Jake Bailey (@jakebailey), the results of running the DT tests are ready. Everything looks the same! |
TypeScript Bot (typescript-bot)
commented
Sep 9, 2025
Jake Bailey (@jakebailey) Here are the results of running the user tests with tsc comparing There were infrastructure failures potentially unrelated to your change:
Otherwise... Everything looks good! |
TypeScript Bot (typescript-bot)
commented
Sep 9, 2025
Jake Bailey (@jakebailey) Here they are:tscComparison Report - baseline..pr
System info unknown Hosts
Scenarios
Developer Information: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
TypeScript Bot (typescript-bot)
commented
Sep 9, 2025
Jake Bailey (@jakebailey) Here are the results of running the top 400 repos with tsc comparing Everything looks good! |
Uh oh!
There was an error while loading. Please reload this page.
…e-5.9 (#62426) Co-authored-by: Greggman <github@greggman.com>
These 2 constructor overloads appear to be missing. You can find similar overloads for other typed array constructors in
es6.d.tsFixes#62343