TS Types de fonctions de passage
function foo(callback: Function) {
console.log('foo() function called!');
callback();
}
Ugliest Unicorn
function foo(callback: Function) {
console.log('foo() function called!');
callback();
}