Microsoft/TypeScript
Voir sur GitHubFix/fix all to remove TS-specific constructs in JS files
Open
#40 599 ouverte le 16 sept. 2020
Domain: LS: Quick FixesEffort: ModerateHelp WantedNeeds ProposalSuggestion
Métriques du dépôt
- Stars
- (48 455 stars)
- Métriques de merge PR
- (Merge moyen 6j 17h) (9 PRs mergées en 30 j)
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