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
Change named parameter format #59
Comments
@vojtajina @tbosch What do you think? |
So what would this ES6 code look like? with type annotations and default values? books.forEach(function ({ title: title, author: author }) {
console.log(title, author)
}); |
@IgorMinar I was not aware of this syntax. Could you point me to ES6 spec where this syntax is described? |
Igor is right, On Fri, Oct 17, 2014 at 1:27 PM, Miško Hevery notifications@github.com
|
We should do whatever TypeScript is doing in this case. |
@tbosch typescript hasn't solved this yet. |
The current syntax is correct. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
current
requires that we repeat the
value
twiceproposed syntax
The text was updated successfully, but these errors were encountered: