You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JSXGraph
Hi,
Are there TypeScript type declarations for jsxgraph?
Thanks, Andreas
michael
unread,
Sep 22, 2016, 3:28:05 PM9/22/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to JSXGraph, penah...@gmail.com
Hi Andreas,
none that I'm aware of.
It makes sense to generate these files from our source that is annotated with JSDoc comments. At least TypeScript can parse JSDoc and use it to generate d.ts files. The results when used on JSXGraph were a lot of compilation errors and an empty d.ts file. There are also a few 3rd party projects that try to achieve this [1]. Apparently, none are fully functional as of now. dtsmake is one those I tried but it also failed in JSXGraph (d.ts file with only one symbol was exported).
If anyone wants to feel free to take a look at the existing solutions and let us know if you can find a good one.