Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.13 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.13 KB

TypeScript examples for JSConfUY 2015

TypeScript definitions on DefinitelyTyped

Hi everyone, I hope these examples could help you through the vast overview of the TypeScript language.

Just a reminder, to get full info about TypeScript check out its official site, and the list of definitions for a lot of common libraries.

In order to compile and run the examples, I've put together a runner for NodeJS (also written in TypeScript) to alleviate the compilation process.

Prerequisites

  • NodeJS
  • Clone this repository
  • npm install it
  • Run the run script (if you are on Linux or OS X) or the dosrun.bat Batch file.

Compiling and running each example

Each one could be loaded using verbose mode (passing -v as the last argument).

  • "MiamiBox app"
    • $ ./run 1
    • > dosrun.bat 1
  • Functions
    • $ ./run 2
    • > dosrun.bat 2
  • Generics
    • $ ./run 3
    • > dosrun.bat 3
  • "AsyncTask" example
    • $ ./run 4
    • > dosrun.bat 4

License MIT 2015 - Mathias Rodriguez