rhino3dm icon indicating copy to clipboard operation
rhino3dm copied to clipboard

rhino3dm.js Module type definition aka rhino3dm.d.ts is a really mess!

Open KaivnD opened this issue 2 years ago • 2 comments

As you can see in the title, so much error in type definition file rhino3dm.d.ts. Few yeas ago, I found this module, which really got my attention. I like it, but when I use it with typescript, oh no, so much to // @ts-ignore, it really drive me mad, so I decided try to make things right, only if you guys let me, I can make pr for this.

KaivnD avatar Nov 22 '21 13:11 KaivnD

Feel free to submit a PR. This would require updating the ts file generator. The code that creates the ts file is at https://github.com/mcneel/rhino3dm/blob/main/src/docgen/JavascriptClass.cs#L206

sbaer avatar Nov 22 '21 23:11 sbaer

related to #431

fraguada avatar Dec 01 '21 12:12 fraguada

Closing this as we're tracking the fixes to d.ts in #470 and #431

fraguada avatar Feb 07 '23 10:02 fraguada