Below are the differences between typescript and Javascript
TypeScript is an Object-Oriented language
JavaScript is a Scripting language
It has a feature known as Static typing
It does not have static typing
TypeScript gives support for modules
JavaScript does not support modules
It supports optional parameter function
It does not support optional parameter function