Advantages of using TypeScript over JavaScript TypeScript always points out the compilation errors at the time of development (pre-compilation) . Because of this getting runtime errors is less likely, whereas JavaScript is an interpreted language. TypeScript supports static/strong typing.