---
# System prepended metadata

title: Understanding TypeScript - Section 01

---

# Understanding TypeScript - Section 01

## Getting Started

### VS Code Extensions
* ESLint
* Path Intellisense
* Prettier (Shift+Option+F)


### Initial Setup

* Compiling TypeScript file to JavaScript file
    * Run `ts <filename>.ts`

* Using `lite-server` 
    * `lite-server` - Lightweight development only node server that serves a web app, opens it in the browser, refreshes when html or javascript change, injects CSS changes using sockets, and has a fallback page when a route is not found. [Read more.](https://www.npmjs.com/package/lite-server)
    * Open terminal in VS Code
    * Run `npm init`
    * Click `Enter` as many times as prompted
    * Run `npm install --save-dev lite-server`
    * Run `npm start`
    * Click `http://localhost:3000` to open in the browser.

