BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

TypeScript for C# Programmers

| by Steve Fenton on Jul 22, 2013

About the Author

Steve Fenton has been working on large-scale JavaScript applications for over ten years. His background is in programming, writing software for trading portals, investment reconciliation systems, cloud contact centres and clinical decision support using a mixture of C# and web technologies and Agile methodologies. Steve is the author of the first book on TypeScript; "TypeScript for JavaScript Programmers", released to co-incide with the public release of the language on 1st October 2012.

Due to the popularity of the open web, JavaScript is becoming an essential language and since 2009 it has been running on servers too thanks to NodeJS. The problem is that due to JavaScript's dynamic type system, it is hard to create great tooling around the language such as sensible auto-completion, refactoring support, type-checking and modularisation.
TypeScript is an open source lanaguage from Microsoft that solves this problem by introducing an optional type system and class-based object-orientation, which make great tooling for large applications possible.
TypeScript let's you write JavaScript that is robust enough for the enterprise and that can run in any browser, on any host and on any operating system.

Free download

Please choose

To receive this eMag please answer the following questions:


Before you download this book...

appScatter offers a platform that enables mobile app developers to distribute, publish, market, and manage apps across multiple stores.

Learn how appScatter can help you extend the reach of your mobile apps.

Note: By checking the box you grant InfoQ permission to share your contact info with this sponsor.

Tabel of Contents

  • Compiling or Transpiling

  • Language Features

    • TypeScript Files
    • Types
    • Modules, Classes and Interfaces
    • Functions
    • Enumerations
    • Generics
  • Structural Typing

  • Access Modifiers

  • Memory Management

    • Releasing Resources
  • Exceptions

  • Arrays

  • Dates

    • Now
    • Date Methods
  • Events

    • Mouse Events
    • Keyboard Events
    • Object Events
    • Form Events
    • Custom Events
    • Running Order
  • Framework

  • Creating Definitions

    • Dynamic Declarations
    • Type Declarations
  • Useful Tricks

    • Obtaining Runtime Types
    • Extending Native Objects

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and dont miss out on content that matters to you

BT