Missing types file
lschierer opened this issue · 1 comments
lschierer commented
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!
apple-phi commented
Seconded!