angular-cn/aio/content/_fragments/glossary-t2.md

1.8 KiB
Raw Blame History

@description

Transpile

转译transpile)

The process of transforming code written in one form of JavaScript (such as TypeScript) into another form of JavaScript (such as ES5).

把一种形式的 JavaScript例如 TypeScript转换成另一种形式的 JavaScript例如 ES5)的过程。

TypeScript

TypeScript 语言

A version of JavaScript that supports most ECMAScript 2015 language features such as decorators.

JavaScript 的一个版本,支持了几乎所有 ECMAScript 2015 语言特性,例如装饰器 (decorator))。

TypeScript is also notable for its optional typing system, which provides compile-time type checking and strong tooling support (such as "intellisense," code completion, refactoring, and intelligent search). Many code editors and IDEs support TypeScript either natively or with plugins.

TypeScript 还以它的可选类型系统而著称。 该类型系统提供了编译时类型检查和强大的工具支持(例如 “Intellisense”代码补齐重构和智能搜索等。 许多代码编辑器和 IDE 都原生支持 TypeScript 或通过插件提供支持。

TypeScript is the preferred language for Angular development, although you can use other JavaScript dialects such as ES5.

TypeScript 是 Angular 的首选语言,当然,你可以使用其它 JavaScript 方言,例如ES5

Read more about TypeScript at typescriptlang.org.

更多信息,见typescript.org