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

TypeScript: Generated Enums are quoted

    XMLWordPrintableJSON

Details

    • Patch Available
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: