Microsoft/TypeScript

[typescript] dom definitions not up to date

開放

#19,040 建立於 2017年10月9日

 (8 則留言) (1 個反應) (0 位負責人)TypeScript (13,395 個分叉)batch import
BugDomain: lib.d.tsEffort: CasualHelp WantedVS Code Tracked

倉庫指標

星標
 (108,860 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

From @yukulele on October 5, 2017 12:7

  • VSCode Version: 1.16.1
  • OS Version: macOS Sierra 10.12.6

Steps to Reproduce:

  • Create this code in typescript file
const elm = document.createElement('main')
  • elm is typed as HTMLElement instead of HTMLMainElement

lib.dom.d.ts is not up to date

how to update it without wait for vscode update ?

Reproduces without extensions: Yes

Copied from original issue: Microsoft/vscode#35620

貢獻者指南