types are associated with run-time valaues


type checking is not done in runtime but before compiling or during development



为JavaScript添加了静态类型
通过TypeScript compiler或Babel转译为JavaScript
静态类型在开发阶段就可以减少bug从而在一定程度上提升开发效率

types are associated with run-time valaues
type checking is not done in runtime but before compiling or during development
为JavaScript添加了静态类型
通过TypeScript compiler或Babel转译为JavaScript
静态类型在开发阶段就可以减少bug从而在一定程度上提升开发效率
本文标题:why TypeScript
本文链接:https://www.haomeiwen.com/subject/wohludtx.html
网友评论