basarat / basarat/typescript-book

Prefer Type Unions over overloads

Open
#63 0 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

Should help with : https://github.com/Microsoft/TypeScript/issues/1805#issue-55448132

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked TypeScript issue to understand the requested preference for type unions over overloads. Then locate the relevant overload guidance or examples in the book and update the documentation so the recommendation is clear and consistent; done means the affected guidance reflects the requested preference.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.