TypeScript: Local variable called 'name' conflicts with lib.d.ts 'name'
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

About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 20 (5 by maintainers)
@minkir014
Yes.
I’m not sitting in front of a computer 24x7…
@lll000111 Are you here?