Created
April 10, 2022 15:55
-
-
Save tibuurcio/d76bf78679c91d74900dfa2dcac21298 to your computer and use it in GitHub Desktop.
My solutions to the https://github.com/type-challenges/type-challenges
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
| // https://github.com/type-challenges/type-challenges/blob/master/questions/13-warm-hello-world/README.md | |
| type HelloWorld = string | |
| // --------- | |
| // https://github.com/type-challenges/type-challenges/blob/master/questions/4-easy-pick/README.md | |
| type MyPick<T, K extends keyof T> = { | |
| [key in K]: T[key] | |
| } | |
| // ---------- | |
| // https://github.com/type-challenges/type-challenges/blob/master/questions/7-easy-readonly/README.md | |
| type MyReadonly<T> = { | |
| readonly [K in keyof T]: T[K] | |
| } | |
| // ---------- | |
| // https://github.com/type-challenges/type-challenges/blob/master/questions/11-easy-tuple-to-object/README.md | |
| // TODO | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment