-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptES2017Relates to the ES2017 SpecRelates to the ES2017 SpecFixedA PR has been merged for this issueA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do this
Milestone
Description
Typescript currently does not support empty constructors of TypedArrays, as in mdn UInt8Array, thx to sindresorhus for pointing that out.
TypeScript Version: 2.7.0-dev.201xxxxx
Code
const x = new Uint8Array()
Expected behavior:
works
Actual behavior:
Error: Expected 1-3 arguments, but got 0.
SamVerschueren
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptES2017Relates to the ES2017 SpecRelates to the ES2017 SpecFixedA PR has been merged for this issueA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightWell scoped, documented and has the green lightHelp WantedYou can do thisYou can do this