- Notifications
You must be signed in to change notification settings - Fork0
An interactive TypeScript tutorial for beginners
abeltony-prog/beginners-typescript-tutorial
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Clone this repo oropen in Gitpod.
# Installs all dependenciesyarn install# Starts the first exerciseyarn exercise 01# Runs linting and tests on the solutionyarn solution 01
I walked through the first few exercises onVSCode's live stream! The plan for these exercises is to develop them into a full workshop, and then bundle them into the full video course -Total TypeScript.
You'll notice that the course is split into exercises. Each exercise is split into a*.problem.ts and a*.solution.ts.
To take an exercise:
- Go into
*.problem.ts - Run
yarn exercise 01, where01is the number of the exercise you're on.
Theexercise script will run TypeScript typechecks and a test suite on the exercise.
This course encouragesactive, exploratory learning. In the video, I'll explain a problem, andyou'll be asked to try to find a solution. To attempt a solution, you'll need to:
- Check outTypeScript's docs
- Try to find something that looks relevant.
- Give it a go to see if it solves the problem.
You'll know if you've succeeded because the tests will pass.
If you succeed, orif you get stuck, unpause the video and check out the*.solution.ts. You can see if your solution is better or worse than mine!
You can runyarn solution 01 to run the tests and typechecking on the solution.
Say thanks to Matt onTwitter or by joining hisDiscord. Consider signing up to hisTotal TypeScript course.
Alias:yarn e 01
Run the corresponding*.problem.ts file.
Alias:yarn s 01
Run the corresponding*.solution.ts file. If there are multiple, it runs only the first one.
About
An interactive TypeScript tutorial for beginners
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- TypeScript94.1%
- JavaScript5.9%
