Get Started With Angular 2 and TypeScript
Автор: badell maman
Загружено: 2016-10-13
Просмотров: 62
How TypeScript Fits With Angular 2
Angular 2 is built on TypeScript, which uses ES6 syntax and compiles to vanilla JavaScript. Standard ES5 JavaScript is also valid TypeScript, so you can still use your existing code.
Where TypeScript differs is in the typing system. Although it is optional, I recommend you use the typing system in your projects. A typing system helps with large projects by identifying the expected type of a value in your code.
This extends to arrays and objects and allows an editor such as Visual Studio Code to recognize the expected value. This is helpful in a large project or when other developers will be working with your code. Instead of wondering what data you should use in a generic variable, with typings you will know what type of value to use.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: