keyof typeof Enum instead of Enum #1979
-
Hello, I use the useNativeEnums: true property in my Orval config, and everything works fine. However, after updating to version 7.7.0, I started getting a lot of errors. They are all related to the “keyof typeof on native enum property” issue. For example, I have the following generated types:
I want to use them in my components like this:
Here, in Is there a solution for this issue? Can I generate types without keyof typeof on native enum properties? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is fixed in 7.8.0: #1957 |
Beta Was this translation helpful? Give feedback.
This is fixed in 7.8.0: #1957