[ 
https://issues.apache.org/jira/browse/THRIFT-3222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Felipe Barriga Richards updated THRIFT-3222:
--------------------------------------------
    Attachment: 0001-TypeScript-Fix-enum-generation-remove-quotes.patch

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