当我比较 T[keyof T] 和 string 时, T 是泛型,我得到了这个错误。 此条件将始终返回“false”,因为类型“T[keyof T]”和“string”没有overlap.ts(2367)
確定! 回上一頁