Skip to main content

Über dieses Buch

TypeScript Revealed is a quick 100-page guide to Anders Hejlsberg's new take on JavaScript. With this brief, fast-paced introduction to TypeScript, .NET, Web and Windows 8 application developers who are already familiar with JavaScript will easily get up to speed with TypeScript and decide whether or not to start incorporating it into their own development.

TypeScript is ‘JavaScript for Application-scale development’; a superset of JavaScript that brings to it an additional object-oriented-like syntax familiar to .NET programmers that compiles down into simple, clean JavaScript that any browser can run today. It’s also tied to the next version of the JavaScript standard, which means that TypeScript will continue to evolve over time to keep in step with that standard and with the capabilities of the engines that will execute JavaScript applications.

If you are a .NET developer, Web designer or developer, or a programmer with a keen interest in scalable applications, TypeScript Revealed is a great way to get started with the language, learn how it compiles into JavaScript, and how easy it is to learn from a .NET/Java developer's perspective.

Takes you through the language features in Typescript additional to those in JavaScript Describes the tooling and community support for TypeScript development Discusses how TypeScript can be included in ASP.NET, Windows 8, and node.js application development projects.



CHAPTER 1. Getting Up to Speed with TypeScript

In this chapter, you’ll start your look at TypeScript with an overview and an example. In particular, this chapter covers the following:
  • The motivation for the TypeScript project
  • What TypeScript does and what it doesn’t do compared to JavaScript and other JavaScript-related languages
  • How to install it and what you get as a result
  • A simple example using TypeScript and Visual Studio
Dan Maharry

CHAPTER 2. The New Syntax

In this chapter, you’re going to look at the TypeScript additions to the JavaScript language. You’ll learn about its strong typing features first and then move on to its object-oriented specific features. In particular, this chapter covers the following:
  • Static typing
  • Classes
  • Interfaces
  • Modules
Dan Maharry

CHAPTER 3. Working with TypeScript

So now you’re up to speed with the new syntax and language features of TypeScript, it’s time to put them to use and include TypeScript in your own projects. In this chapter, you’ll look at how to get the most from the compiler and then how to include TypeScript in your Visual Studio projects.
Dan Maharry


Weitere Informationen

Premium Partner