Microsoft/TypeScript

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

Open

#40,599 opened on 2020年9月16日

GitHub で見る
 (3 comments) (1 reaction) (0 assignees)TypeScript (6,726 forks)batch import
Domain: LS: Quick FixesEffort: ModerateHelp WantedNeeds ProposalSuggestion

Repository metrics

Stars
 (48,455 stars)
PR merge metrics
 (平均マージ 6d 17h) (30d で 9 merged PRs)

説明

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

コントリビューターガイド