Брендан Эйх
- Нативный
- Простой
- Гибкий
- Быстрый
- Расширения
- Модульность
- Масштабирования
- Развитие
Андерс Хейлсберг
автор c#, delpi, pascal
TypeScript - типизированный JavaScript?
So shouldn’t we optionally call it Type?Script or [Type]Script ? Kidding aside, the types are just once piece of TypeScript. Perhaps a better name is simply ES+
John Papa
Статическая типизация, но при этом опциональная
Валидный JS код будет валидным TS кодом
На самом деле странно не использовать возможности языка в полной мере
Зная JS вы уже можете писать TS код
А в процессе изучать какие-то более сложные конструкции.
Types
-
boolean
-
number
-
string
-
Function
-
Object
-
Enum
-
Array
-
void
-
any
Interfaces, Classes, Inheritance, Generics, Modules etc.
www.typescriptlang.org/play
Typescript 2.x roadmap
Компилятор typescript
0.8
1 октября 2012
1.0
2 апреля 2014
1.8.10
9 апреля 2016
At the end of the day, Google’s development of Dart was intended to be the creation of a new web programming language. TypeScript follows a less radical approach than Dart – it’s a typed superset of JavaScript and existing JavaScript projects can be converted to TypeScript simply by renaming the source files from*.js to *.ts.
Why did the Angular team choose TypeScript over Dart?
https://jaxenter.com/angular-typescript-dart-115426.html
Angular 2: Dart vs TypeScript
As nice as Dart is, TypeScript wins because, at the end of the day, they both have to appeal to existing web developers. These developers, nearly without exception, use JavaScript. Their skills do not cleanly translate to Dart like they do to TypeScript. By virtue of not simply being a better JavaScript, Dart lost.
Angular 2: Dart vs TypeScript
Why did the Angular team choose TypeScript over Dart?
https://jaxenter.com/angular-typescript-dart-115426.html
Angular 2: AtScript
IDE
- alm.tools
- Atom
- Eclipse
- Emacs
- NetBeans
- Sublime Text
- Vim
- Visual Studio
- Visual Studio Code
- WebStorm
Недостатки
-
замедляет кодирование
-
компиляция
Преимущества
-
рефакторинг
-
ошибки при компиляции
-
ES6
-
модульность
-
развитие
Опыт использования
Typescript overview
By diodredd
Typescript overview
- 397