Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3222

TypeScript: Generated Enums are quoted

    XMLWordPrintableJSON

    Details

    • Patch Info:
      Patch Available
    • Flags:
      Patch

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fbarriga Felipe Barriga Richards
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: