Video and slides synchronized, mp3 and slide download available at URL http://bit.ly/1qCEItC.
Mohamed Hegazy provides a guided tour to TypeScript, showing how the language and toolset simplify application-scale JavaScript development. Filmed at qconsf.com.
Mohamed Hegazy is the engineering manager for the TypeScript team. He has been part of the TypeScript team since its first public release three years ago. Before that he was on the Visual Studio JavaScript tools team. Mohamed enjoys working on compilers and language design.
2. InfoQ.com: News & Community Site
• 750,000 unique visitors/month
• Published in 4 languages (English, Chinese, Japanese and Brazilian
Portuguese)
• Post content from our QCon conferences
• News 15-20 / week
• Articles 3-4 / week
• Presentations (videos) 12-15 / week
• Interviews 2-3 / week
• Books 1 / month
Watch the video with slide
synchronization on InfoQ.com!
http://www.infoq.com/presentations
/tpescript-language-tools
3. Purpose of QCon
- to empower software development by facilitating the spread of
knowledge and innovation
Strategy
- practitioner-driven conference designed for YOU: influencers of
change and innovation in your teams
- speakers and topics driving the evolution and innovation
- connecting and catalyzing the influencers and innovators
Highlights
- attended by more than 12,000 delegates since 2007
- held in 9 cities worldwide
Presented at QCon San Francisco
www.qconsf.com
4. TypeScript: A typed superset of JavaScript that
compiles to plain JavaScript.
12. • Structural typing and type inference
• In practice very few type annotations are necessary
• Interfaces, generics, union types, tuple types
• Increases accuracy and expressiveness of type system
• Works with existing JavaScript libraries
• Declaration files can be written and maintained separately
• Types enable tooling
• Provide verification and assistance, but not hard guarantees
Type System
13. • Modules
• Classes
• Arrow functions
• Default parameters
• Destructuring
• Spread and rest
• Let and const
• Exponentiation
• for...of
• Object literal methods
• Shorthand properties
• Computed properties
• Octal / binary literals
• Symbols
• Template strings
• async..await
Features from the Future, Today
14. • Community
• https://github.com/Microsoft/TypeScript
• Over 5,000 StackOverflow questions
• Frameworks
• Over 1,000 .d.ts library definitions on Definitely Typed repository covering
practically all popular JavaScript frameworks
• Tool support
• IDEs: Visual Studio, VS Code, Sublime Text, Atom, WebStorm, …
• Build and test: ASP.NET, grunt, gulp, tsUnit, tslint, typedoc
TypeScript Ecosystem
20. • TypeScript 1.7
• ES7 exponentiation operator
• this type
• Support --module with --target es6
• Support for decorators when targeting ES3
• Improved checking of destructuring with literal initializers
• TypeScript 1.8
• Support for path mappings module resolution
• Support JavaScript in TypeScript compilations
• Support for unreachable code reporting
• Support for comments in tsconfig.json
• Support for stylized error messages in terminal output with --pretty
• Module bundling
• And more …
TypeScript Roadmap