RapidAI interview question

What is TypeScript and when would you use it?