[ 
https://issues.apache.org/jira/browse/THRIFT-3222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623987#comment-14623987
 ] 

Hudson commented on THRIFT-3222:
--------------------------------

SUCCESS: Integrated in Thrift #1608 (See 
[https://builds.apache.org/job/Thrift/1608/])
THRIFT-3222 TypeScript: Fix enum generation (remove quotes) (roger: rev 
20a25519c45195145c50c350359c98524d17bddb)
* compiler/cpp/src/generate/t_js_generator.cc


> 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)

Reply via email to