tomshanley / d3-sankey-circular

A fork of the d3-sankey library to allow circular links.
MIT License
89 stars 41 forks source link

Do we have @types/d3-sankey-circular? #41

Open skjindal93 opened 4 years ago

skjindal93 commented 4 years ago

Just wondering, if we have types for d3-sankey-circular for TypeScript?

tomshanley commented 4 years ago

Sorry, never used Typescript

zealot128 commented 3 years ago

I've created a basic d.ts file. But that's my first Typescript interface, so I don't know if it is correct, but for my user code, I works good:

https://gist.github.com/zealot128/5ffd7696e42248e70c9d06db5886c6cb

Not sure about making a @types file about it, or about that process at all.