MyOmit

Medium

Implement MyOmit — opposite of Pick. It should exclude specified keys from the type.

Examples:

Input 1: type Example = MyOmit<User, "age">
Output 1: { id: number; name: string }
Output
Run your code to see results.