-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Description
In most of my codebase I avoid real typescript enums so that we can use constant strings interchangeably with the enum values. While the runtime values of zeus enums are the same as my constant strings, the fact that they are generated as an enum rather than a const enum (or just a ts union) means that I get type errors when I try to provide the underlying values to something typed from zeus generation.
I'd like to be able to configure zeus to generate const enums or string unions, similar to how you can with graphql let. I was not able to find evidence of this in the documentation.
Metadata
Metadata
Assignees
Labels
No labels