Pick-TS
A best-effort typesafe(er1) function to pick selected object fields.
// But this will fail at compilation time
Limitations
- As picked type is infered from pick argument value types - setting explicit keys type will break result type:
Related Links
Contribute
Perfection is Achieved Not When There Is Nothing More to Add, But When There Is Nothing Left to Take Away
Fork, Contribute, Push, Create pull request, Thanks.