Created
November 29, 2025 23:56
-
-
Save anztrax/1fe560c75dc2ae31c83aa04ede41adda to your computer and use it in GitHub Desktop.
Simple Pick implementation in Typescript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type MyPick<T, K extends keyof T> = { | |
| [key in K]: T[key] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment