GE HealthCare interview question

Why use TypeScript instead of plain JS?