chen0040 / js-graph-algorithms

Package provides javascript implementation of algorithms for graph processing
MIT License
147 stars 39 forks source link

Add TypeScript definitions #1

Closed fwouts closed 7 years ago

fwouts commented 7 years ago

Hi and thank you for creating this library!

Would you be open to adding TypeScript definitions? Here's a first attempt: https://github.com/fwouts/js-graph-algorithms/blob/master/src/jsgraphs.d.ts.

Otherwise I'm happy to submit it separately to https://github.com/DefinitelyTyped/DefinitelyTyped

chen0040 commented 7 years ago

Hi @fwouts Many thanks for the effort in creating the TypeScript definition! I am happy to add the typescript definition. Could you create a pull request so that i can merge the typescript definition to the master?

chen0040 commented 7 years ago

Also could u change the namespace in the typescript to something like JsGraphs instead of Jss?