TypeScript treats each of those like a type guard, meaning that inside each clause, TypeScript uses the value of the literal to infer which member type of ...
確定! 回上一頁