We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug:
The es5 option errors when class fields are encountered
es5
Config and Small code sample
Config:
{ target: "node", es5: true, }
Code:
class MyClass { myField = 1; }
Error:
Node { type: 'PropertyDefinition', start: 23, end: 35, static: false, computed: false, key: Node { type: 'Identifier', start: 23, end: 30, name: 'myField' }, value: Node { type: 'Literal', start: 33, end: 34, value: 1, raw: '1' } } (node:4288) UnhandledPromiseRejectionWarning: Error: Unsupported method definition
The text was updated successfully, but these errors were encountered:
a71a5af
No branches or pull requests
Describe the bug:
The
es5
option errors when class fields are encounteredConfig and Small code sample
Config:
Code:
Error:
The text was updated successfully, but these errors were encountered: