type Exclude<T, U> = T extends U ? never : T;. 使用場景: // 'a' | 'd' type A = Exclude<'a'|'b'|'c'|'d' ...
確定! 回上一頁