Closed whitlockjc closed 5 years ago
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
Let's say I have a function that has a
@returns {module:sway~Operation[]}
, the generated TSD hasany[]
. For example, this JSDoc is generated as this TSD. It should beOperation[]
and notany[]
.