Microsoft/TypeScript
Fix/fix all to remove TS-specific constructs in JS files
Ouverte
#40 599 ouverte le 16 sept. 2020
Domain: LS: Quick FixesEffort: ModerateHelp WantedNeeds ProposalSuggestion
Métriques du dépôt
- Stars
- (108 860 étoiles)
- Métriques de merge PR
- (Métriques PR en attente)
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