mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-15 12:09:40 +08:00
d3_documentElement = document.documentElement and d3_select is initialized from a querySelection so node() will only ever return HTMLElement or null. We mistook it for SVGLocatable because of the following in d3-test.js: var box = label.node().getBBox(); But that's a different node() function altogether.