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

OmitDeep - when omitting multiple optional fields final type goes wrong #966

Open
vilola opened this issue Oct 18, 2024 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@vilola
Copy link

vilola commented Oct 18, 2024

@vilola vilola added the bug Something isn't working label Oct 18, 2024
@Emiyaaaaa
Copy link
Collaborator

Emiyaaaaa commented Nov 25, 2024

You mean the result has extra undefined?

Try set exactOptionalPropertyTypes: true in tsconfig.

@Emiyaaaaa Emiyaaaaa self-assigned this Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants