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

Additional properties should add to a basic type as opposed to replac… #9

Closed
wants to merge 3 commits into from

Conversation

nicolas-chaulet
Copy link
Collaborator

@nicolas-chaulet nicolas-chaulet commented Feb 1, 2024

…ing it with a Record type

This is about a flag called additionalProperties. At the moment when it is set to true the output type is always Record<string, any> I think it should be Record<string, any> & {foo: string}
Or something of that sort

@mrlubos mrlubos closed this Feb 4, 2024
@mrlubos mrlubos deleted the additional-properties branch February 4, 2024 15:11
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

Successfully merging this pull request may close these issues.

2 participants