This presentation covers the basics of TypeScript and will show you how to enable TypeScript features in existing projects. We'll take a guided tour of TypeScript, showing how the language and toolset makes it easier to write cross-platform, large-scale JavaScript applications.
2. What is TypeScript
• TypeScript is a language for application-scale JavaScript Development
• TypeScript is a typed superset of JavaScript that compiles to plain
JavaScript
• Any browser, Any host, Any OS
• TypeScript Complier is Open Source
3. TypeScript overview
• Starts with JavaScript
• All JS code is a TS code – So, Copy & Paste Works!
• All JS Libraries work with TS code.
• Optional Static Types, Classes, Modules
• Enable scalable application development and excellent tooling
• All this disappear at run-time
• Ends with JavaScript
• Complies to JS where it runs on any browser or host, or any OS
4. Install & Compile TypeScript
• TypeScript complier is a node.js package
• Using Terminal or Command Line
npm install –g typescript
• Compile (.ts) files using any Text Editor
tsc MYFILE.ts
9. How to get started
• Test, Run and playground for TypeScript:
• www.typescriptlang.org
• Language specifications & Source in GitHub:
• https://github.com/Microsoft/TypeScript
• TypeScript handbook:
• http://www.typescriptlang.org/Handbook
TypeScript is a programming language that makes it easier to write cross-platform, application scale, JavaScript that runs in any browser or in any host. Microsoft Technical Fellow Anders Hejlsberg explains how TypeScript, which is a typed superset of JavaScript that compiles to idiomatic (normal) JavaScript, can dramatically improve your productivity by enabling rich tooling experiences, all while maintaining your existing code and continuing to use the same JavaScript libraries you already love.
The TypeScript language specification is available under Open Web Foundation and the compiler implementation is available as Open Source.
Anders Hejlsberg: Introducing TypeScript
Ref.: https://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript
Anders Hejlsberg: Introducing TypeScript
Ref.: https://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript
Anders Hejlsberg: Introducing TypeScript
Ref.: https://channel9.msdn.com/posts/Anders-Hejlsberg-Introducing-TypeScript