It's common in Javascript for functions to accept different argument types and to also return different types. In this lesson we learn how to 'teach' ...
分类:
其他好文 时间:
2016-06-17 06:15:16
阅读次数:
184
TypeScript allows you to generate definition files for your own libraries. This lesson shows you how to organize your project and generate the definit ...
分类:
其他好文 时间:
2016-06-14 06:23:50
阅读次数:
278
1. 前言
JavaScript一直有着广泛的应用,特别是在浏览器端的行为管理。本文档的目标是使JavaScript代码风格保持一致,容易被理解和被维护。
虽然本文档是针对JavaScript设计的,但是在使用各种JavaScript的预编译语言时(如TypeScript等)时,适用的部分也应尽量遵循本文档的约定。
任何问题或建议,欢迎跟我们讨论
2. 代码风格
...
分类:
编程语言 时间:
2016-06-12 02:34:16
阅读次数:
208
Getting started with TypeScript and Sublime Text 04 March 2015 18 Comments Posted in JavaScript, Open Source, TypeScript, Sublime Text UPDATED: This p ...
分类:
Web程序 时间:
2016-06-11 21:38:38
阅读次数:
557
TypeScript allows you to emit decorator metadata which enables more powerful features through reflection. This lesson show you how decorators and refl ...
分类:
Web程序 时间:
2016-06-11 07:08:45
阅读次数:
1129
https://github.com/Microsoft/TypeScript http://www.typescriptlang.org/ https://docs.mongodb.com/ecosystem/drivers/node-js/ http://www.hacksparrow.com/ ...
分类:
其他好文 时间:
2016-06-11 00:46:20
阅读次数:
155
Decorators are a feature of TypeScript that are becoming more and more common in many major libraries. This lesson walks you through what decorators a ...
分类:
其他好文 时间:
2016-06-10 18:59:57
阅读次数:
152
Using TypeScript when installing packages from npm often requires you to install related definition files. This lesson shows you how to use typings to ...
分类:
其他好文 时间:
2016-06-10 06:14:08
阅读次数:
211
One of the most confusing parts of getting started with TypeScript is figuring out how to use all the libraries that you know and love from JavaScript ...
分类:
Web程序 时间:
2016-06-10 06:10:33
阅读次数:
473
This lesson covers using your first TypeScript Interface and what happens to the Interface when it is compiled down to JavaScript. Define the interfac ...
分类:
移动开发 时间:
2016-06-10 06:05:07
阅读次数:
192