TypeScript 支持与JavaScript几乎相同的数据类型,此外还提供了实用的枚举 ... Declare a tuple type let x: [string, number]; // Initialize it x ...
確定! 回上一頁