-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Description
I have a variable called name
and it seems to be duplicated with a const in lib.dom.d.ts
and this affects some functions in vs code like hovering and going to definition.
See this picture that shows the problem of hovering
and this shows the problem of going to definition when I press F12
It goes to this file
I started a previous issue and it was transferred to typescript
. This is the issue microsoft/TypeScript#31783
According to what was said in this issue, It isn't a typescript
issue. It works well in webstorm. So, I opened another issue here again and it was closed and said that there is an error but that's not true because webstorm manages that well and node compiler understands that and Google Chrome Console too. See these pictures
It gives me the output correctly.
It also here gives me the right output. So, don't close the issue until my problem is solved.