microsoft / microsoft/TypeScript
[7.1 API] Methods from Type should also exist on the Checker
Ouverte
@andrewbranch y travaille déjà.
Depuis le 20/8/2026.
Needs Investigation
- Langage dominant
- Go
- Étoiles
- 111k
- Forks
- 14.3k
- Merge moyen
- 2 j 4 h
- PR mergées (30 j)
- 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,
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Évaluation
Cette issue n'a pas encore été évaluée.