microsoft / microsoft/TypeScript
Type completions in jsDoc @augments and @implements tags.
Abierto
@sandersn ya está trabajando en esto.
Desde el 26/2/2020.
Needs Investigation
- Lenguaje dominante
- Go
- Estrellas
- 111k
- Forks
- 14.3k
- Merge medio
- 2 d 4 h
- PR fusionados (30 d)
- 132
Descripción
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
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.