microsoft / microsoft/TypeScript
Extending @typedefs by adding additional properties doesn't seem to work?
Aperta
@sandersn ci sta già lavorando.
Dal 23/2/2021.
Needs Proposal
Suggestion
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.3k
- Merge medio
- 2g 4h
- PR unite (30g)
- 132
Descrizione
I know this can be done with an intersection type, but that can often get quite verbose as it often requires an additional typedef to be defined.
As you can see in the below screenshot, i would expect propThree to be present in the extended const.
Is this syntax supported by vscode, looking around it seems to be in webstorm?

Sandbox example: https://codesandbox.io/s/vigilant-https-7h845?file=/src/Animal.js
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.