MyExclude

Medium

Implement MyExclude which excludes from union type T those types that are in U.

Examples:

Input 1: type Result = MyExclude<"a" | "b" | "c", "a">
Output 1: "b" | "c"
Output
Run your code to see results.