TypeScript 3576 Large scale JavaScript development is hard TypeScript A language for large scale JavaScript development TypeScript A typed superset of JavaScript that compiles to plain JavaScript ID: 637498
Download Presentation The PPT/PDF document "Anders Hejlsberg Technical Fellow" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.
Slide1Slide2
Anders HejlsbergTechnical Fellow
TypeScript
3-576Slide3
Large scale JavaScriptdevelopment is hard.Slide4
TypeScript: A language for large scale
JavaScript development.Slide5
TypeScript: A typed superset of JavaScript that
compiles to plain JavaScript.Slide6
Any browser. Any host. Any OS.Slide7
Open Source.Slide8
+
+Slide9
+
+Slide10
Announcing: TypeScript 1.0Slide11
Structural typing and type inference
In practice very few type annotations are necessaryGenerics
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
An accurate
static
representation of JavaScript’s dynamic run-time type systemSlide12
Scalable application structuringClasses, interfaces, and modules
enable clear contracts in code
Aligned with emerging standards
Class and lambda
syntax aligns with
ECMAScript
6 proposals
Supports popular module systems
CommonJS
and AMD modules in any ECMAScript 3 environment
Classes, Interfaces, ModulesAn accurate static
representation of JavaScript’s dynamic run-time type systemSlide13
CommunityOver 4000 CodePlex
posts, 170 forks, 500 feature requests,
2000
StackOverflow
questions
Now taking pull requests
Frameworks
Over
350 .d.ts library
definitions on Definitely Typed repository covering more than 90% of popular JavaScript frameworksTool supportIDEs: VS, Monaco, Eclipse
, IntelliJ, Resharper, Sublime Text, Brackets, …Build: Heroku, Ruby, grunt, ASP.NET, node.js,
compile-in-client
Testing: Chutzpah,
tsUnit
TypeScript
Ecosystem
An Open Source language for
large
scale JavaScript development.Slide14
TypeScript 1.0 available now!In box for Visual Studio 2013, plug-in for Visual Studio 2012, node.js package, source on
CodePlex
ECMAScript
6
Ratification targeted for December 2014
Classes, Arrows, Modules,
Destructuring
, let +
const
, for…of, Generators, Comprehensions, …
TypeScript 2.0 wish listECMAScript 6 parity, downlevel support where feasible
Additional features, e.g. Asynchronous Functions (async/await)TypeScript Roadmap
An Open Source language for
large scale
JavaScript development.Slide15
http://typescriptlang.orgSlide16
Your Feedback is Important
Fill out an evaluation of this session
and help shape future events.
Scan the QR code
to evaluate
this session on your mobile device.
You’ll also be entered into
a daily prize drawing!Slide17
©
2014
Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.