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

Remove uses of ts.getMutableClone #67

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

edsrzf
Copy link
Collaborator

@edsrzf edsrzf commented Dec 8, 2020

This function is deprecated and is not currently slated to be replaced.

The new code is much more verbose, but there doesn't appear to be any real alternative.

See microsoft/TypeScript#40507, where I've also left a comment about the use cases in this project.

I made other minor changes to minimize the number of type conversions necessary, and a few other small things I noticed while I did this work.

This function is deprecated and is not currently slated to be replaced.

The new code is much more verbose, but there doesn't appear to be any
real alternative.

See microsoft/TypeScript#40507
Copy link
Contributor

@Rudeg Rudeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Rudeg Rudeg merged commit 2ba093a into airbnb:master Dec 8, 2020
@edsrzf edsrzf deleted the rm-get-mutable-clone branch December 8, 2020 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants