I was working on a personal project where I wanted some charts. I came across this library 🙂 However, I have only been working in Typescript. To facilitate this, many libraries have added typescript “definitions”. This allows for compile time type checking as well as intelligence when using Visual Studio.
A community project called DefinitelyTyped was started a while back to facilitate these requests. Since I needed the typings, I went ahead and used the public documentation on this site and wrote the definition file. This morning, the pull request and validated and merged in.
P.S. If the CanvasJS creators have any issues with this, we can always remove the typings from Definitely Typed…but hopefully you view it like I do as just another way to get CanvasJS to be used by typescript 🙂
This topic was modified 2 years, 1 month ago by mover5.