Skip to content

esnext Array flatten should be flat #24526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sambostock opened this issue May 31, 2018 · 1 comment
Closed

esnext Array flatten should be flat #24526

sambostock opened this issue May 31, 2018 · 1 comment
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript ES Next New featurers for ECMAScript (a.k.a. ESNext) Fixed A PR has been merged for this issue Help Wanted You can do this

Comments

@sambostock
Copy link
Contributor

The esnext type declarations for Array should be updated, as per the updated proposal. flatten has been renamed to flat.

TypeScript Version: 3.0.0-dev.201xxxxx

Search Terms:

  • flat flatten

Expected behaviour:

Types should be declared for flat on Array.

Actual behaviour:

Types are declared for flatten on Array.

Related Issues:

@mhegazy mhegazy added Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript ES Next New featurers for ECMAScript (a.k.a. ESNext) Help Wanted You can do this labels May 31, 2018
@mhegazy mhegazy added this to the TypeScript 3.0 milestone May 31, 2018
@mhegazy mhegazy added the Fixed A PR has been merged for this issue label May 31, 2018
@mhegazy
Copy link
Contributor

mhegazy commented May 31, 2018

thanks @sambostock!

@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript ES Next New featurers for ECMAScript (a.k.a. ESNext) Fixed A PR has been merged for this issue Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

2 participants