You need to change JavaScript Language Version to ES6. Changing this setting should fix the issue:
In some scenarios, you might need to restart your IDE for the changes to reflect properly.
You need to change JavaScript Language Version to ES6. Changing this setting should fix the issue:
In some scenarios, you might need to restart your IDE for the changes to reflect properly.