basarat / basarat/typescript-book

TypeScript Compiler Internals

Open
#579 1 comment 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

## File: Utilities

In book:
![截屏2020-05-09 16 08 28](https://user-images.githubusercontent.com/20441896/81468017-549d9680-920f-11ea-9f76-ae534ea12fc4.png)

But in [source code](https://github.com/microsoft/TypeScript/blob/master/src/compiler/utilities.ts#L5249):
![截屏2020-05-09 16 10 34](https://user-images.githubusercontent.com/20441896/81468049-a0e8d680-920f-11ea-9736-a6f374fccca2.png)
![截屏2020-05-09 16 11 36](https://user-images.githubusercontent.com/20441896/81468068-c675e000-920f-11ea-9c8d-1552166efd1d.png)

Is that a misunderstanding or is the book outdated?

Contributor guide

Open the contributing guide

Research direction

Compare the book's Utilities section with src/compiler/utilities.ts around line 5249, using the linked source and screenshots as the starting points. Determine whether the difference reflects an outdated explanation or an intentional compiler change, then update the relevant book passage and verify it against the current TypeScript source.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.