Posts

Showing posts from June, 2022

TypeScript Notes

Image
(  TypeScript Roadmap  :  Click   ) TypeScript is a strongly typed, object oriented, compiled language. It was designed by  Anders Hejlsberg  (designer of C#) at Microsoft. TypeScript is both a language and a set of tools. TypeScript is a typed superset of JavaScript compiled to JavaScript. In other words, TypeScript is JavaScript plus some additional features like Types and Object-Oriented Programming.  TypeScript  is a typed superset of JavaScript that compiles to plain JavaScript. It offers classes, modules, and interfaces to help you build robust components .  TypeScript uses compile-time type checking . Which means it checks if the specified types match  before  running the code, not  while  running the code.   // Install typescript compiler  npm install - g typescript // Get globally installed packages path. Add output to your PATH variables. npm config get prefix NOTE  : In regular Javascript since ...