How can one loop through the properties of a class in TypeScript? Take the following class for example:
export class T
See How do I loop through or enumerate a JavaScript object?
In your case, something like:
for (var i in TodoApp.Task) { if (TodoApp.Task.hasOwnProperty(i)) { var th = $('').append(TodoApp.Task[i]); tHead.append(th); } }