transform icon indicating copy to clipboard operation
transform copied to clipboard

JSON to JSDoc doesn't support inner objects

Open lol768 opened this issue 5 years ago • 3 comments

Screen Shot 2020-10-30 at 14 32 02

Should run recursively on inner objects and generate multiple typedefs.

lol768 avatar Oct 30 '20 14:10 lol768

Something like:

/** @typedef {Object} json
 * @property {String} foo
 * @property {Test} test
 */

/** @typedef {Object} Test
 * @property {String} a
 */

lol768 avatar Oct 30 '20 14:10 lol768

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 10 '21 11:02 stale[bot]

#266

lol768 avatar Feb 10 '21 12:02 lol768