Skip to content

Instantly share code, notes, and snippets.

@consoledotblog
Forked from Nijhazer/bawts-04.js
Created January 14, 2016 17:14
Show Gist options
  • Save consoledotblog/320495235e16a707a1a0 to your computer and use it in GitHub Desktop.
Save consoledotblog/320495235e16a707a1a0 to your computer and use it in GitHub Desktop.
Building Applications with TypeScript - Snippet 04
var TaskManager = {
getTask: function(id) {
id = parseInt(id);
// issue an API request to fetch this task
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment