You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error when attempting to inline destructure rest parameters #29404
Ruslan Fadeev (@Kinrany) Yes, I think so. There are a few other workarounds. But none are as succinct, and given that it's valid JS, and TS is supposed to be a superset, I think this construction should work.
Activity
Kinrany commentedon Jan 14, 2019
Would this work?
jonrimmer commentedon Jan 14, 2019
Ruslan Fadeev (@Kinrany) Yes, I think so. There are a few other workarounds. But none are as succinct, and given that it's valid JS, and TS is supposed to be a superset, I think this construction should work.
weswigham commentedon Jan 14, 2019
Duplicate of #6275, #26017 is already up.
typescript-bot commentedon Jan 17, 2019
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.