Microsoft/TypeScript

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

開放

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

 (3 則留言) (1 個反應) (0 位負責人)TypeScript (13,395 個分叉)batch import
Domain: LS: Quick FixesEffort: ModerateHelp WantedNeeds ProposalSuggestion

倉庫指標

星標
 (108,860 顆星)
PR 合併指標
 (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

貢獻者指南