microsoft / microsoft/TypeScript
[API] Narrow types of `Node` attributes when possible
Abierto
@andrewbranch ya está trabajando en esto.
Desde el 11/8/2026.
Needs Investigation
- Lenguaje dominante
- Go
- Estrellas
- 111k
- Forks
- 14.3k
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 132
Descripción
In TS 6, many node attributes were typed with the types which they would always be at runtime. In TS 7 this information has been lost.
JSDocTypedefTag#parentshould beJSDocJSDocTypedefTag#typeExpressionshould probably beTypeNodeNode#jsDocshould bereadonly JSDoc[]
There are likely others I haven't noticed yet
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.