To use this:
-
Clone this repo:
git clone https://github.com/bitovi/learn-typescript.git
-
Open your terminal to that folder:
cd learn-typescript
-
Install node packages:
npm i
-
Solve one of the exercises. Open one of the following in your editor:
3-functions-bonusMaker.ts 4a-classes-hello-dino.ts
-
Run the tests to see if you got things working:
npm run 3-functions npm run 4-classes
-
If you are having trouble, checkout the
solutions
folder for answers.
Run the following to test the solutions:
npm run solutions