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.
- NodeJS
- Clone this repository
npm install
it- Run the
run
script (if you are on Linux or OS X) or thedosrun.bat
Batch file.
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