As I embark on my journey with Angular 2 and TypeScript, one concept that has me a bit puzzled is how to implement callback functions. I understand that this might be a basic question, but when I look at this typical JavaScript code:
someOnject.doSomething('dsadsaks', function(data){
console.log(data);
});
I find myself wondering, what would be the TypeScript equivalent?