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? |
Answered by
AllieJonsson
Mar 20, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is fixed in 7.8.0: #1957