Book Image

Visual Studio 2013 Cookbook

Book Image

Visual Studio 2013 Cookbook

Overview of this book

Table of Contents (17 chapters)
Visual Studio 2013 Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Fortifying JavaScript applications with TypeScript


JavaScript's role in web development has gone from being considered a starter language for hobbyist programmers to being regarded as a serious tool for building both client and server modern web applications. This change means that the size and scope of JavaScript applications has grown tremendously, and with that growth, the costs to manage the complexity have also increased. To address this, Microsoft has developed the open source project TypeScript, which is a superset of JavaScript that adds static type checking.

Note

As of this writing, the TypeScript project has not released version 1.0. However, it is considered stable enough that Microsoft is using it for portions of Visual Studio Online and the Xbox Music service.

Visual Studio 2013 adds integrated support for TypeScript projects, and users of Visual Studio 2012 can add support with a free plugin (see http://www.typescriptlang.org/). Let's take a look at how TypeScript can benefit...