Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): keyof typeof on native enum property #1860

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

AllieJonsson
Copy link
Contributor

Status

READY

Description

Fixes #1857

Previous:

export interface Pet {
  type: PetType;
}

New:

export interface Pet {
  type: keyof typeof PetType;
}

@melloware melloware merged commit 1d703f0 into orval-labs:master Jan 29, 2025
2 checks passed
@AllieJonsson AllieJonsson deleted the fix/polymorph-native-enum branch January 29, 2025 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants