MyPick

Medium

Implement MyPick — a type equivalent to Pick.

Examples:

Input 1: type Example = MyPick<Obj, "key1" | "key2">
Output 1: { key1: string; key2: string }
Output
Run your code to see results.

By continuing to use the platform, you accept the terms of the Privacy Policy and the use of cookies.