anvaka / ngraph.path

Path finding in a graph
https://anvaka.github.io/ngraph.path.demo/
MIT License
3.04k stars 186 forks source link

Adding embedded type definition file. #7

Closed CorayThan closed 5 years ago

CorayThan commented 5 years ago

I created some type definition files for using your pathing library in a Typescript project, and wanted to see if we could embed them so others will have type definitions too, in the future.

I didn't update the version of the project, but obviously the version would need to be updated for a new NPM version as well.

anvaka commented 5 years ago

Published as v1.0.3. Thank you so much for doing this.

I noticed you correctly inferred distance function signature which was mistakenly specified in the jsdoc. Thank you for such a great attention to the details!