Microsoft/TypeScript
Fix/fix all to remove TS-specific constructs in JS files
Aberta
#40.599 aberto em 16 de set. de 2020
Domain: LS: Quick FixesEffort: ModerateHelp WantedNeeds ProposalSuggestion
Métricas do repositório
- Stars
- (108.860 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Today in a JS file, if you write something like
function foo(x: string) {
}
Type annotations can only be used in TypeScript files.
We should provide a quick fix for these