Skip to content

Dom d.ts does not define event.target.parentNode #14374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mjbvz opened this issue Mar 1, 2017 · 5 comments
Open

Dom d.ts does not define event.target.parentNode #14374

mjbvz opened this issue Mar 1, 2017 · 5 comments
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Help Wanted You can do this VS Code Tracked There is a VS Code equivalent to this issue
Milestone

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Mar 1, 2017

From @linocatucci on February 28, 2017 19:25

  • VSCode Version: Code 1.9.1 (f9d0c687ff2ea7aabd85fb9a43129117c0ecf519, 2017-02-08T23:31:51.320Z)
  • OS Version: Darwin x64 16.4.0
  • Extensions:
Extension Author Version
beautify HookyQR 0.8.8
jslint ajhyndman 1.2.1
jshint dbaeumer 0.10.15
vscode-eslint dbaeumer 1.2.6
githistory donjayamanne 0.1.5
auto-close-tag formulahendry 0.3.9
vscode-JS-CSS-HTML-formatter lonefy 0.2.2
vscode-icons robertohuertasm 7.3.0
open-in-browser techer 0.0.3

Hello,

with some code in VSCode the autocomplete and hints are not working.

For instance with the following codeL
console.log(event.target.parentNode);
Visual studio code does not show the options when I type in event.target.ParentNode or with event.target.
Can somebody help me?

cheers,
Lino

Steps to Reproduce:

  1. type in console.log(event.target.p -> parentNode is expected
    2.type in event.ta -> target is expected.

Copied from original issue: microsoft/vscode#21570

@mjbvz mjbvz self-assigned this Mar 1, 2017
@mjbvz mjbvz removed the javascript label Mar 1, 2017
@mjbvz mjbvz changed the title VSCode does not hint or autocomplete event.target.parentNode; Dom d.ts does not define event.target.parentNode Mar 1, 2017
@mjbvz mjbvz removed their assignment Mar 1, 2017
@mjbvz mjbvz added VS Code Tracked There is a VS Code equivalent to this issue Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript and removed intellisense labels Mar 1, 2017
@zhengbli
Copy link
Contributor

zhengbli commented Mar 1, 2017

Should be covered by microsoft/TypeScript-DOM-lib-generator#207

@mhegazy mhegazy added Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript and removed Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript labels Aug 29, 2017
@ywang04
Copy link

ywang04 commented Nov 17, 2017

This issue still exists in Version 1.18.0 (1.18.0)

@mhegazy mhegazy added this to the Community milestone Apr 12, 2018
@mhegazy mhegazy added the Help Wanted You can do this label Apr 12, 2018
@dnistreanu
Copy link

It has more than 1 year guys. It's time to fix that annoying bug, used brackets for comparison and intellisense is much better for DOM.

@kitsonk
Copy link
Contributor

kitsonk commented Jun 19, 2018

The help wanted label indicates that this is open for the community to fix and is not a priority for the core team.

As mentioned in the linked PR (microsoft/TypeScript-DOM-lib-generator#207) there are significant performance issues when introducing the generics that would need to be addressed.

@RyanCavanaugh RyanCavanaugh modified the milestones: Community, Backlog Mar 7, 2019
@Vallek

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Help Wanted You can do this VS Code Tracked There is a VS Code equivalent to this issue
Projects
None yet
Development

No branches or pull requests

8 participants