Declare Omit Type#29254
Declare Omit Type#29254VincentLanglet wants to merge 3 commits intomicrosoft:masterfrom VincentLanglet:patch-1
Conversation
|
Hello, any feedback about this PR ? 😃 |
|
Yeah, I include this in my global .d.ts file for every project. Would be nice to have it in the main lib 👍 |
|
Yes, I'd much prefer for |
|
@DanielRosenwasser @RyanCavanaugh Hi ! What is the futur of this PR ?
This argument doesn't prevented you to create other generic type.
All I see are 50 duplicate of the same type Omit, or previous declaration without Exclude, but doing the same thing. And you say it, it's duplicated ; let's stop this.
What is this ? |
|
It looks like you've sent a pull request to update our 'lib' files. These files aren't meant to be edited by hand, as they consist of last-known good states of the compiler and are generated from 'src'. Unless this is necessary, consider closing the pull request and sending a separate PR to update 'src'. |
|
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
The Omit type is really usefull and seems to be defined by a lot of typescript users in their project.
But I don't see it in typescript lib.