microsoft / microsoft/TypeScript
[API] Narrow types of `Node` attributes when possible
Aperta
@andrewbranch ci sta già lavorando.
Dal 11/8/2026.
Needs Investigation
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.3k
- Merge medio
- 2g 4h
- PR unite (30g)
- 132
Descrizione
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#parent` should be `JSDoc`
- `JSDocTypedefTag#typeExpression` should probably be `TypeNode`
- `Node#jsDoc` should be `readonly JSDoc[]`
There are likely others I haven't noticed yet
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.