Replies: 1 comment
-
I replied to you in the other issue thread but if that doesn't help share a reproducible example and we can have a look |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was trying to generate some enums - with no success.
In the docs it says
We recommend exporting enums as plain JavaScript objects
.I do understand that simple enum like
will generate output as
But I would like to use types as
This will have no impact on output in bundle
Here is example https://www.typescriptlang.org/play/?#code/MYewdgzgLgBApmArgWxgSWQQwOZwCoCeADnDAN4BQM1MRATgJZZ0EwC8MA5AAoBKaAWQCCvAJqcANFRrZMAGzgt2XAOJCAMgFExnCgF8KFUJBAKAdHJDYAFBhz5icM7IUsAlEA
I tried with simple config with only one plugin
and it still generates inline types - not enums
Beta Was this translation helpful? Give feedback.
All reactions