Skip to content

Conversation

@just-boris
Copy link
Contributor

The changes in destructuring handling are caused by this PR in Typescript: microsoft/TypeScript#27587

Rest parameters are defined by this code, so it now returns an object type with multiple type parameters (roughly as Object<number, number>), instead of Array<number> as it was before

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Dec 31, 2018

#922 also updates to 3.2.x, and changes the test behavior to display a tuple type instead of just Object, which I believe is more useful. Thanks for the link to the relevant TS PR!

@just-boris
Copy link
Contributor Author

I probably should have searched better...
I will close this, as there is something in progress already

@just-boris just-boris closed this Dec 31, 2018
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