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

Mark Omit as deprecated #64

Open
Andyuu opened this issue Jan 30, 2025 · 1 comment
Open

Mark Omit as deprecated #64

Andyuu opened this issue Jan 30, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@Andyuu
Copy link

Andyuu commented Jan 30, 2025

As explained in Type Fest and other discussions, Omit<> has some major limitations and is not recommended.

I found out about this only today, so I would like to see this marked as @deprecated here to guide others. Perhaps some additional explanation may be needed with the alternative recommendation of Type Fest Except<>.

@uhyo uhyo added the enhancement New feature or request label Jan 31, 2025
@uhyo
Copy link
Owner

uhyo commented Jan 31, 2025

Thanks for the suggestion. I'm uncertain as to what to do here...

A half of me says we should just mark Omit as deprecated as suggested in this issue.

The other half says we could go further and improve the Omit definition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants