TypeScript 版本相关
摘要:TypeScript 1.3 元组类型 // Declare a tuple type var x: [string, number]; // 初始化 x = ["hello", 10]; // ok // 错误的初始化 x = [10, "hello"]; // Error TypeScript
阅读全文
posted @ 2019-03-28 13:51
posted @ 2019-03-28 13:51
posted @ 2018-07-20 15:42