Node version: v16.19.1
Please run:
nvm install
nvm use
npm i
Go through the files and follow the instructions for each exercise.
You can use the command npm run start FILE_NAME
to run the file (this should be a global package on your Mac)
Pay close attention to how typescript interacts with the IDE highlighting to help us code and catch type errors :)
Order of exercises:
- discriminatedUnions.ts
- typeGuards/typeOf.ts
- typeGuards/instanceOf.ts
- typePredicates.ts