Skip to content
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

Support change-array-by-copy tc39 proposal #50333

Closed
entropitor opened this issue Aug 17, 2022 · 1 comment · Fixed by #51367
Closed

Support change-array-by-copy tc39 proposal #50333

entropitor opened this issue Aug 17, 2022 · 1 comment · Fixed by #51367
Labels
Committed The team has roadmapped this issue Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Help Wanted You can do this Suggestion An idea for TypeScript
Milestone

Comments

@entropitor
Copy link

Suggestion

Support https://github.com/tc39/proposal-change-array-by-copy (stage 3 proposal).

Adding

    Array.prototype.toReversed() -> Array
    Array.prototype.toSorted(compareFn) -> Array
    Array.prototype.toSpliced(start, deleteCount, ...items) -> Array
    Array.prototype.with(index, value) -> Array


    TypedArray.prototype.toReversed() -> TypedArray
    TypedArray.prototype.toSorted(compareFn) -> TypedArray
    TypedArray.prototype.with(index, value) -> TypedArray
@RyanCavanaugh RyanCavanaugh added Suggestion An idea for TypeScript Help Wanted You can do this Committed The team has roadmapped this issue Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript labels Aug 17, 2022
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Aug 17, 2022
@robpalme
Copy link

robpalme commented Jan 31, 2023

This proposal went to Stage 4 yesterday. It looks like there's already a PR in progress. Please say if further help is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Committed The team has roadmapped this issue Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Help Wanted You can do this Suggestion An idea for TypeScript
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants