This interview starts off with the interviewer saying it's going to be in JavaScript, and then introducing a piece of code that's clearly not JavaScript:
declare function send<P>(
payload: P,
callback: () => void
): void;
Doesn't inspire confidence in the interviewer's level of preparation.