-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
Omit not providing intellisense on what can be omitted from type #56135
Labels
Not a Defect
This behavior is one of several equally-correct options
Comments
Omit isn't constrained on |
RyanCavanaugh
added
the
Not a Defect
This behavior is one of several equally-correct options
label
Oct 17, 2023
This issue has been marked as "Not a Defect" and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
5 tasks
This should be a bug. Please reopen and fix it. It makes no sense to have no intelisense on Omit. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Acknowledgement
Comment
Description
When I am using Omit it takes two parameters
Now when I try to do this I get no intellisense / autocompletion that hey these are the keys which are present in the Object type.
Reproduction
This can be reproduce in the this ts playground link
Screen shot for reference
Solution
All we need to do is add extends clause to the second Param which will give intellisense.
I can add this to the repo but need suggestion or reasoning behind the current implementation
The text was updated successfully, but these errors were encountered: