Closed bigtimebuddy closed 3 years ago
Just confirmed with a unit test.
Turns out the issue was very simple. The symbol parser was inferring these perfectly fine, but the transformer was not mapping the defaultValue
and dataType
to the documents.
This raises the question if other things from SymbolSignature
are not being mapped. Will look into this more closely tomorrow and then get it merged.
Trying to reorganize the documentation in PixiJS so that member documentation is at the class-level. Historically with JSDoc these were added in the constructor when the property was initialized.
Here's an example of what I'd like to do:
I would expect the output from webdoc to infer the type and default from the TypeScript definition, but it does not.
This, however, works fine:
One quick note: access-modifiers are handled correctly (public, private, protected).