How to document object literals in ESDOC

This is not mentioned in the documentation.

https://esdoc.org/manual/usage/tags.html

Does anyone know how to document object literals in ESDoc and generate a report describing an object with all methods and values. I would like to know how to document the following markup.

/** * @?? */ export default { /** * @?? */ myProperty: 1, /** * @?? */ myFunction: () => {} } 
+5
source share

Source: https://habr.com/ru/post/1263249/


All Articles