- Install Node Module Package: Use
npm install <package-name>in your terminal. - Install TypeScript: Run
npm install -g typescriptto install globally. - JS vs TS: JavaScript is dynamically typed, TypeScript is statically typed with optional type annotations and better tooling.
- Data Types (TS): Basic types include
string,number,boolean,any,void,null,undefined,array, andtuple.
