Excluding types from a union is such a common operation that TypeScript provides the built-in utility type Exclude<T, U> :
確定! 回上一頁