microsoft / microsoft/TypeScript
Type completions in jsDoc @augments and @implements tags.
Aperta
@sandersn ci sta già lavorando.
Dal 26/2/2020.
Needs Investigation
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.3k
- Merge medio
- 2g 4h
- PR unite (30g)
- 132
Descrizione
Suggestion
Add code completions in jsDoc @augments and @implements clauses.
Use Cases
Anybody using the new @implements and @augments jsDoc tags will benefit from this.
Examples
Inside the {} triggering code completions should show types.
/**
* @augments {}
* @implements {}
*/
declare class B {
b(): void;
i(): void;
}
Checklist
My suggestion meets these guidelines:
- This wouldn't be a breaking change in existing TypeScript/JavaScript code
- This wouldn't change the runtime behavior of existing JavaScript code
- This could be implemented without emitting different JS based on the types of the expressions
- This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, etc.)
- This feature would agree with the rest of TypeScript's Design Goals.
This is a flow-on from #36292 cc: @sandersn
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.