Typescript is a programming language that can run all browsers. TypeScript transpiles into JavaScript code, making it easier to debug and unit test. Typescript is purely object oriented language and…