Brian Forbis created THRIFT-4625:
------------------------------------
Summary: let / const variable decorators for es6 compiler
Key: THRIFT-4625
URL: https://issues.apache.org/jira/browse/THRIFT-4625
Project: Thrift
Issue Type: Improvement
Components: JavaScript - Compiler, Node.js - Compiler
Reporter: Brian Forbis
With support for the ES6 compiler, variables should be scoped using the ES6
*let* and *const* variable decorators to define variable scoping and read/write
behavior.
This brings the generated code into compliance with the
[https://eslint.org/docs/rules/no-var|no-var] eslint rule.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)