In prior versions of TypeScript, unions of callable types could only be invoked if they had identical parameter lists. ts. type Fruit = "apple" | "orange";.
確定! 回上一頁