posts - 91,comments - 0,views - 84208
06 2019 档案
TS-接口
摘要:接口 TS的核心原则之一是对值所具有的结构进行类型检测 接口初探 可选属性 width?: number interface SquareConfig { color?: string width?: number } function createSquare(config: SquareConf 阅读全文
posted @ 2019-06-11 02:35 苏荷酒吧 阅读(189) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示