Skip to content

Some ES6 constructs force an implicit 'strict' context within them. #1135

Closed
@CyrusNajmabadi

Description

@CyrusNajmabadi

For example, inside the body of a class, you are implicitly in strict mode. Implementing this will be a breaking change for existing code that uses classes today and uses some identifier (like 'yield') that becomes a keyword in strict mode.

Metadata

Metadata

Labels

Breaking ChangeWould introduce errors in existing codeBugA bug in TypeScriptES6Relates to the ES6 Spec

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions