Microsoft/TypeScript

[typescript] dom definitions not up to date

Aperta

#19.040 aperta il 9 ott 2017

 (8 commenti) (1 reazione) (0 assegnatari)TypeScript (13.395 fork)batch import
BugDomain: lib.d.tsEffort: CasualHelp WantedVS Code Tracked

Metriche repository

Star
 (108.860 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor