Microsoft/TypeScript

Fix/fix all to remove TS-specific constructs in JS files

Offen

#40.599 geöffnet am 16.09.2020

 (3 Kommentare) (1 Reaktion) (0 zugewiesene Personen)TypeScript (13.395 Forks)batch import
Domain: LS: Quick FixesEffort: ModerateHelp WantedNeeds ProposalSuggestion

Repository-Metriken

Stars
 (108.860 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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

Contributor Guide