Skip to content
プロジェクト

total-typescript/typescript-generics-workshop

GitHubで見る

total-typescript/typescript-generics-workshop has 1,596 GitHub stars and 343 forks. GitHot measured 0 stars in 24 hours, 0 in 7 days, and 0 in 15 days. Last checked 2026-11-19 20:33 UTC. Last push 2026-08-07.

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
0
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

概要

Interactive tutorial on using generics in TypeScript

学習

Quickstart

Clone this repo or open in Gitpod.

# Installs all dependencies
npm install

# Asks you which exercise you'd like to run, and runs it
npm run exercise

How to take the course

You'll notice that the course is split into exercises. Each exercise is split into a *.problem and a *.solution.

To take an exercise:

  1. Run npm run exercise
  2. Choose which exercise you'd like to run.

This course encourages active, exploratory learning. In the video, I'll explain a problem, and you'll be asked to try to find a solution. To attempt a solution, you'll need to:

  1. Check out TypeScript'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, or if you get stuck, unpause the video and check out the *.solution. You can see if your solution is better or worse than mine!

Acknowledgements

Say thanks to Matt on Twitter or by joining his Discord. Consider signing up to his Total TypeScript course.

Reference

npm run exercise

Alias: npm run e

Open a prompt for choosing which exercise you'd like to run.