Y
Hacker News
new
|
ask
|
show
|
jobs
by
SpaceL10n
1358 days ago
I think it would hurt less with TypeScript global types. Just need to know what IDs you'd expect to find in the DOM.
1 comments
err4nt
1357 days ago
the ID's in DOM will never conflict or cause an issue with your own JS code. You can't reliably use 'named access on the window object' (the name of this feature) because of this, so it's never a problem, and also largely useless.
link