Supports for modules in Javascript and Typescript

Hello Everyone, I am confused to choose right one between javascript and typescript in terms of modules support interfaces to define data in both. I know about javascript is not support modules but I am not pretty sure. Can anyone know about typescript? And also suggest me which one is better between them.

The main advantage of Typescript over JavaScript is that Typescript is a superset of JavaScript . So Typescript designed for the development of a large program that trans compile to JavaScript . JavaScript is used in development for enhancing HTML pages in an interactive and design fashion. To know more visit here.