Get a Function Return Type in TypeScript with ReturnType | CodeTrail