半肾
精华
|
战斗力 鹅
|
回帖 0
注册时间 2006-5-29
|
不需要额外的浏览器支持,所有能支持js的浏览器都能完美运行typescript。
Compatibility with JavaScript
TypeScript is a superset of JavaScript. By default the compiler targets ECMA Script 3 (ES3) but ES5 is also supported as an option. A TypeScript application can consume existing Javascript scripts. Compiled TypeScript scripts can be consumed from JavaScript.
Existing frameworks such as jQuery and Node.js are fully supported. Type declarations for these libraries are provided with the source code.
Supported web browsers and platforms
Any web browser on any platform can run TypeScript as it is just compiled into standard JavaScript. A script can either be precompiled into JavaScript or compiled on the fly by including the JavaScript compiler for TypeScript.
http://en.wikipedia.org/wiki/TypeScript
TypeScript is a language extension that adds features to JavaScript.
Syntactically, TypeScript is very similar to JScript .NET, another Microsoft implementation of the ECMA-262 language standard that added support for static typing, classical object orientation language features such as classes, inheritance, interfaces, and namespaces. |
|