How to Type Function Callbacks in TypeScript Interfaces | CodeTrail