Maxxton Interview Question

why is typescript used