ErikGartner / dTree

A library for visualizing data trees with multiple parents, such as family trees. Built on top of D3.
https://treehouse.gartner.io/ErikGartner/58e58be650453b6d49d7
MIT License
509 stars 135 forks source link

Missing types file #138

Open lschierer opened 2 years ago

lschierer commented 2 years ago

When I go to import this after installing from npm, I get the following error:

Could not find a declaration file for module 'd3-dtree'. '/Users/lschiere/src/schierer/HP_Stuff/node_modules/d3-dtree/dist/dTree.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/d3-dtree` if it exists or add a new declaration (.d.ts) file containing `declare module 'd3-dtree';`

9 import * as dtree from 'd3-dtree';

It would be great if you could create the necessary declaration file for the module!