[
https://issues.apache.org/jira/browse/THRIFT-3222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roger Meier resolved THRIFT-3222.
---------------------------------
Resolution: Fixed
Fix Version/s: 0.9.3
committed
> TypeScript: Generated Enums are quoted
> --------------------------------------
>
> Key: THRIFT-3222
> URL: https://issues.apache.org/jira/browse/THRIFT-3222
> Project: Thrift
> Issue Type: Bug
> Components: JavaScript - Compiler
> Reporter: Felipe Barriga Richards
> Labels: typescript
> Fix For: 0.9.3
>
> Attachments: 0001-TypeScript-Fix-enum-generation-remove-quotes.patch
>
>
> Currently the generated enums looks like:
> {code}
> enum Foo {
> 'A' = 0,
> 'B'=1,
> 'C'=2
> }
> {code}
> And they should be:
> {code}
> enum Foo {
> A = 0,
> B = 1,
> C = 2
> }
> {code}
> With this change WebStorm is able to autofill the values of the enum.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)