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

贡献者指南