Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
I'm playing around with TypeScript (http://www.typescriptlang.org/), follow allong
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
js
test
.gitignore
README.md
example-backbone-template.html
example-basic.html
example-pubsub.html

README.md

TypeScript 101

I'm playing around with TypeScript, follow allong ...

This repo contains several examples of TypeScript "programs".

Instructions

  • Make sure you have Node.js and TypeScript installed via NPM (or Visual Studio if that's you thing)

    npm install -g typescript

  • Compile your TypeScript code with:

    tsc --sourcemap --out OUTPUT_FILE INPUT_FILE

    or

    tsc --out OUTPUT_FILE --watch INPUT_FILE

  • To compile the "modules" use:

    tsc --declaration --module 'amd' --sourcemap --out OUTPUT_FILE INPUT_FILE

Something went wrong with that request. Please try again.