Frontmatter
| id | 9291 |
| title | Fix JSDoc parsing error in devindex Storage.mjs |
| state | Closed |
| labels | bugdocumentationaibuild |
| assignees | tobiu |
| createdAt | Feb 24, 2026, 5:18 PM |
| updatedAt | Feb 24, 2026, 5:19 PM |
| githubUrl | https://github.com/neomjs/neo/issues/9291 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Feb 24, 2026, 5:19 PM |
Fix JSDoc parsing error in devindex Storage.mjs
tobiu assigned to @tobiu on Feb 24, 2026, 5:19 PM

tobiu
Feb 24, 2026, 5:19 PM
Input from Gemini 3.1 Pro:
✦ I have fixed the JSDoc syntax error in
apps/devindex/services/Storage.mjs.The invalid
Array<{...}>inline object syntax containing the unsupported?character has been replaced with the standard JSDocObject[]structure along with individual@paramtags documenting each property (updates[].login,[updates[].lastUpdate], etc.).The commit has been pushed and this issue is now closed.
tobiu closed this issue on Feb 24, 2026, 5:19 PM
Problem
The JSDoc compiler (
jsdoc-x) fails to parse@apps/devindex/services/Storage.mjsduring thebuildAllprocess. The error is caused by invalid JSDoc syntax for an array of objects with optional properties:Array<{login: String, lastUpdate: String, delete?: Boolean}>. The JSDoc compiler does not support the?syntax within an inline object definition in this context.Solution
Update the JSDoc comment for the
updateTrackermethod inStorage.mjsto use standard JSDoc array-of-objects syntax:* @param {Object[]} updates List of update operations. * @param {String} updates[].login The user's login. * @param {String} [updates[].lastUpdate] The last update timestamp. * @param {Boolean} [updates[].delete] True to delete the user.This syntax is fully supported by standard JSDoc compilers and accurately describes the expected data structure.