I'm just getting started with Angular 2 and TypeScript and I can't seem to figure out how to use callback functions, I know this may be a silly question but given this regular javascript code:
someOnject.doSomething('dsadsaks', function(data){
console.log(data);
});
What is the equivalent in TypeScript?