摘要: // There are 3 basic types in TypeScript let isDone: boolean = false; let lines: number = 42; let name: string = "Anders"; // But you can omit the type annotation if the variables are derived from e... 阅读全文
posted @ 2017-06-15 16:02 我爱吃小丸子 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 1.安装Node.jsURL:https://nodejs.org/en/download/选择合适的版本进行安装2.安装AngularJS CLIangular是用typescript编写的,所以先安装typescript,再安装angularjs-clinpm install -g typesc 阅读全文
posted @ 2017-06-15 15:47 我爱吃小丸子 阅读(925) 评论(0) 推荐(0) 编辑