Utility type to select only properties/methods/decorators #49564
Labels
Declined
The issue was declined as something which matches the TypeScript vision
Suggestion
An idea for TypeScript
Suggestion
π Search Terms
β Viability Checklist
My suggestion meets these guidelines:
β Suggestion
Have additional Utility types that acts similar to
Pick
but allows to pickmethods
,properties
,decorators
.π Motivating Example
This allows for a simpler way to get only properties, methods or specific items by decorator to create a new type.
π» Use Cases
This would be helpful for picking properties/methods in classes with lots of items so that you wouldn't have to specifically define all the items to
Omit
orPick
individually.The text was updated successfully, but these errors were encountered: