Skip to content

keyof doesn't produce the expected union #616

@vivdesign

Description

@vivdesign

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions