We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
TypeScript Version: 3.1.0-dev.20180727
Search Terms: destructuring rest
Code
({...{}} = {}); ({...[]} = []);
Expected behavior:
An error on both assignments as described in the Spec: https://tc39.github.io/ecma262/#sec-destructuring-assignment-static-semantics-early-errors
Actual behavior:
No error
Playground Link: https://agentcooper.github.io/typescript-play/#code/BQbwdBIL5QBAvLaBKA3AKFBMBtAunIvmkA
Related Issues:
The text was updated successfully, but these errors were encountered:
emit error on destructuring of rest property
b328de6
Fixes: microsoft#26005
emit error on destructuring of rest property (#29609)
b45df89
Fixes: #26005
Successfully merging a pull request may close this issue.
TypeScript Version: 3.1.0-dev.20180727
Search Terms: destructuring rest
Code
Expected behavior:
An error on both assignments as described in the Spec: https://tc39.github.io/ecma262/#sec-destructuring-assignment-static-semantics-early-errors
Actual behavior:
No error
Playground Link: https://agentcooper.github.io/typescript-play/#code/BQbwdBIL5QBAvLaBKA3AKFBMBtAunIvmkA
Related Issues:
The text was updated successfully, but these errors were encountered: