Task.js for TypeScript