basarat / basarat/typescript-book

Predefined type generators section

Open
#402 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Again cover the basic:
- `keyof`
- Lookup `T[K]`
- Mapped
- Conditional (and infer)

And then cover the ones in `lib.d.ts` Pick / Readonly / Exclude / Return type etc.

Contributor guide

Open the contributing guide

Research direction

Start by locating the book sections covering keyof, lookup types T[K], mapped types, and conditional types with infer. Review the predefined utility types named in lib.d.ts, including Pick, Readonly, Exclude, and ReturnType. Done means the basic generators and the listed library types are clearly explained in the appropriate documentation sections.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.