Hello, I’m playing with parsing the d.ts files from the Three.js src to generate C# classes. For the most part, the experiment is going well, but I have some special cases which are popping up.
Due to my lack of Typescript or d.ts knowledge, I can’t seem to understand why this interface is in here since I don’t see any events tied to the Face3 object, nor do I see anything in the documentation. Is this interface needed for one of the methods?
BTW, the parsing project is here (the code is a bit of a mess atm).
The problem is that an event object has a target and type property but it can have an arbitrary amount of additional properties like for example data. Event objects like that are not often used though.
However, I’m not sure if [attachment: string]: any; is the correct syntax for defining such types. I think we can leave this out until somebody needs it.