S.no TypeScript ES6
1. Extremely comfortable to eradicate the development error. ES6 is more comfortable in development deployment.
2. It’s an open source programming language. It’s a scripting language.
3. It supports all primitive data types. ES6 doesn’t support primitive data types.
4. TypeScript has 3 scopes: Global, Class, and Local. It has only two scopes: Global and Local.
BY Best Interview Question ON 05 Mar 2020