microsoft / microsoft/TypeScript
[7.1 API] Methods from Type should also exist on the Checker
Open
@andrewbranch is already working on this.
Since Aug 20, 2026.
Needs Investigation
- Dominant language
- Go
- Stars
- 111k
- Forks
- 14.3k
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 132
Description
Acknowledgement
- I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.
Comment
Currently Type has many methods that make API calls to get the results. This is fine for convenience, but very slow because of IPC overhead. Some examples: (getSymbol, getAliasSymbol, getAliasTypeArguments)
Ideally all Type methods should have Checker equivalents that allow us to run them batched. Without these we are stuck making one request for each method call resulting in very many IPC calls and their associated performance overhead,
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.