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

keyof doesn't produce the expected union #616

Open
vivdesign opened this issue Nov 8, 2024 · 0 comments
Open

keyof doesn't produce the expected union #616

vivdesign opened this issue Nov 8, 2024 · 0 comments

Comments

@vivdesign
Copy link

Hello,
first of all great job with the library.
I recentrly updated from 0.56.0 to 0.60.0 and suddenly keyof stopped resulting in an union and I don't understand why.

This is what the typescript interpreter in vscode gives me for the property
image

but after generating the schema file I get
"op": { "type": ["string", "number", "object"] },

I'll be very greatful if anyone can help with this.

PS. I also tried 0.64.0 and the behaviour is the same

@vivdesign vivdesign changed the title keyof doesn't product the expected union keyof doesn't produce the expected union Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant