和 Exclude 相反,Extract 从 T 中提取出 U

    1. type T0 = Extract<"a" | "b" | "c", "a" | "f">; // "a"
    2. type T1 = Extract<string | number | (() => void), Function>; // () =>void