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

Felipe Barriga Richards updated THRIFT-3222:
--------------------------------------------
    Description: 
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.

  was:
Currently the generated enums looks like:
```
enum Foo {
   'A' = 0,
   'B'=1,
   'C'=2
}
```
And they should be:
```
enum Foo {
   A = 0,
   B = 1,
   C = 2
}
```

With this change WebStorm is able to autofill the values of the enum.


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