Microsoft/TypeScript

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

Open

#40,599 建立於 2020年9月16日

在 GitHub 查看
 (3 留言) (1 反應) (0 負責人)TypeScript (6,726 fork)batch import
Domain: LS: Quick FixesEffort: ModerateHelp WantedNeeds ProposalSuggestion

倉庫指標

Star
 (48,455 star)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 9 個 PR)

描述

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

貢獻者指南