basarat / basarat/typescript-book

Two flavors of literal types

Open
#224 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

Widening and non-widening https://github.com/Microsoft/TypeScript/pull/11126

Need to add docs here https://github.com/basarat/typescript-book/blob/master/docs/types/literal-types.md :rose:

Contributor guide

Open the contributing guide

Research direction

Open docs/types/literal-types.md and read the linked TypeScript PR #11126 to understand the widening and non-widening literal type changes. Update that documentation page to cover both flavors, and consider the work done when the page explains the distinction accurately and clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.