Closed wkeese closed 12 years ago
The alternative to fixing this is to make all types (ex: __IOArgs
) available as exports from a module, and then specifying them as a MID+property combo, ex: dojo/_base/xhr.__IOArgs
. Then the API viewer can handle it, and doc-parse doesn't need to do anything.
I did that for declare() in http://bugs.dojotoolkit.org/changeset/29365/dojo.
Since that's at the least a workaround, I'll mark this for consideration for future. Should either fix it in the future, or just make a policy that all return types need to be specified via MID+property.
OK, for now the policy is that all types need to be specified as full MID's.
See for example dojo/_base/declare. The return type is just listed as DeclareCreatedObject, rather than listing the properties inside of DeclareCreatedObject.