Closed fi4sk0 closed 7 years ago
@fi4sk0 Thanks for catching this issue and pinning it down right away. Unlike d3-transition
, d3-selection-multi
is purely side-effect in JavaScript. So as compilation drops the exported interfaces/types there is no remaining export dependency.
I am testing out a minor tweak locally.
@fi4sk0 Thx again. The fix is in the patch release 1.10.1.
@tomwanzek thanks! You're awesome!
Hey there,
I'm having trouble using the "styles" and "attrs" method on Selections. I looked through the source and it seems the
d3-selection-multi
package gets exported in thesrc/bundle-d3.d.ts
file but not insrc/bundle-d3.js
. When I manually add a line that exports everything from d3-selection-multi, I can use "styles" and "attrs".bundle-d3.js (excerpt):
bundle-d3.d.ts (excerpt):
Thanks for you time and for your awesome work!