Skip to content
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

Class Declaration Is Automatically In Strict Mode #4070

Merged
merged 2 commits into from
Apr 12, 2015

Conversation

yuit
Copy link
Contributor

@yuit yuit commented Apr 8, 2015

In ES6, class declaration and class expression are considered strict mode code. TypeScript compiler has updated parsing for class declaration and class expression as such. One strict mode restriction is that arguments is not allowed as an identifier in parameter declaration. This pull request is to fix using arguments in function's parameter

vvakame added a commit that referenced this pull request Apr 12, 2015
Class Declaration Is Automatically In Strict Mode
@vvakame vvakame merged commit a0beefd into DefinitelyTyped:master Apr 12, 2015
@vvakame
Copy link
Member

vvakame commented Apr 12, 2015

@yuit wow! thanks mate.

@yuit
Copy link
Contributor Author

yuit commented Apr 12, 2015

No problem :)

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.

None yet

2 participants