Guest User

Untitled

a guest
May 20th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. import * as d3 from "d3";
  2. d3.selection.prototype.popover = function() {};
  3.  
  4. (d3.select("svg").selectAll(".node") as any).popover();
  5.  
  6. /// <reference path="../../node_modules/@types/d3/index.t.ds">
  7. declear namespace d3{
  8. export interfacer Selection<GElement extends BaseType, Datum, PElement extends BaseType, PDatum>{
  9. popover();
  10. }
  11. }
Add Comment
Please, Sign In to add comment