4 - Pick
ktcotz opened this issue · comments
type MyPick<Type extends object, Keys extends keyof Type> = {
[Property in Keys]:Type[Property]
}
Collection of TypeScript type challenges with online judge
ktcotz opened this issue · comments
type MyPick<Type extends object, Keys extends keyof Type> = {
[Property in Keys]:Type[Property]
}