Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An interactive TypeScript tutorial for beginners

NotificationsYou must be signed in to change notification settings

reynerdev/beginners-typescript-tutorial

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beginner typescript tutorial

Quickstart

Clone this repo oropen in Gitpod.

# Installs all dependenciesyarn install# Starts the first exerciseyarn run exercise 01# Runs linting and tests on the solutionyarn run solution 01

Video Walkthrough

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.

How to take the course

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:

  1. Go into*.problem.ts
  2. Runyarn run exercise 01, where01 is 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:

  1. Check outTypeScript's docs
  2. Try to find something that looks relevant.
  3. 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 run solution 01 to run the tests and typechecking on the solution.

Acknowledgements

Say thanks to Matt onTwitter or by joining hisDiscord. Consider signing up to hisTotal TypeScript course.

Reference

yarn run exercise 01

Alias:yarn run e 01

Run the corresponding*.problem.ts file.

yarn run solution 01

Alias:yarn run 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript90.6%
  • JavaScript9.4%

[8]ページ先頭

©2009-2025 Movatter.jp