{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6275","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6275/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6275/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/6275/events","html_url":"https://github.com/Microsoft/TypeScript/issues/6275","id":124094877,"number":6275,"title":"Allow binding patterns in rest binding elements","user":{"login":"DanielRosenwasser","id":972891,"avatar_url":"https://avatars.githubusercontent.com/u/972891?v=3","gravatar_id":"","url":"https://api.github.com/users/DanielRosenwasser","html_url":"https://github.com/DanielRosenwasser","followers_url":"https://api.github.com/users/DanielRosenwasser/followers","following_url":"https://api.github.com/users/DanielRosenwasser/following{/other_user}","gists_url":"https://api.github.com/users/DanielRosenwasser/gists{/gist_id}","starred_url":"https://api.github.com/users/DanielRosenwasser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanielRosenwasser/subscriptions","organizations_url":"https://api.github.com/users/DanielRosenwasser/orgs","repos_url":"https://api.github.com/users/DanielRosenwasser/repos","events_url":"https://api.github.com/users/DanielRosenwasser/events{/privacy}","received_events_url":"https://api.github.com/users/DanielRosenwasser/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/ES7","name":"ES7","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-28T17:30:23Z","updated_at":"2015-12-28T17:30:23Z","closed_at":null,"body":"See https://github.com/Microsoft/TypeScript/issues/2519#issuecomment-167590461.\r\n\r\n_________________\r\n\r\nNew grammar rules:\r\n\r\n*BindingRestElement*<sub>`[Yield]`</sub>:\r\n&nbsp;&nbsp;&nbsp;&nbsp;`...`*BindingIdentifier*<sub>`[?Yield]`</sub>\r\n&nbsp;&nbsp;&nbsp;&nbsp;`...`*BindingPattern*<sub>`[?Yield]`</sub>\r\n\r\nRelevant section:\r\n\r\nhttps://tc39.github.io/ecma262/#sec-destructuring-binding-patterns\r\n\r\nOld work for disalllowing the construct was performed here: #2754."}}