API reference/Semantic analysis
Semantic analysis
Semantic analysis tracks scopes, declarations, and references, so tools can determine which binding a name refers to. It also reports early errors, but does not perform TypeScript type checking.
Example
Input
The two uses of value resolve to different declarations: