Array of module types generated as `any[]`
Closed this issue · 1 comments
whitlockjc commented
Let's say I have a function that has a @returns {module:sway~Operation[]}
, the generated TSD has any[]
. For example, this JSDoc is generated as this TSD. It should be Operation[]
and not any[]
.
wehrstedt commented
Modules are quite tricky to handle, I don't know when I have time to check this. If you like you can write a test for your case like this one (should not be that hard) and debug the parse
-function or the prepareResults-function
. I assume that theres a problem with the function mapVariableType, should be pretty easy to debug