Frontmatter
| id | 4795 |
| title | Neo.tree.Accordion: Throwing jsdocx errors on build, on line 40 and 51 |
| state | Closed |
| labels | bug |
| assignees | tobiu |
| createdAt | Aug 29, 2023, 3:10 PM |
| updatedAt | Aug 30, 2023, 9:56 AM |
| githubUrl | https://github.com/neomjs/neo/issues/4795 |
| author | alberthashani |
| commentsCount | 3 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Aug 30, 2023, 9:56 AM |
Neo.tree.Accordion: Throwing jsdocx errors on build, on line 40 and 51
tobiu assigned to @Dinkh on Aug 29, 2023, 4:22 PM

tobiu
Aug 29, 2023, 4:23 PM
Torsten, can you take a look into it?
Probably this one: @member {Record[|null} selection=null
=> Record is not a knwon type in JS, so probably something like: {Object[]|null}. Not closing the ] can also cause issues. Same story for methods.

tobiu
Aug 30, 2023, 9:55 AM
alright, i will take care of this one then.
tobiu assigned to @tobiu on Aug 30, 2023, 9:55 AM
tobiu unassigned from @Dinkh on Aug 30, 2023, 9:55 AM

tobiu
Aug 30, 2023, 9:56 AM
@alberthashani: the docs build works again.
tobiu closed this issue on Aug 30, 2023, 9:56 AM
Errors:
repoX@0.1.0 generate-docs-json node ./node_modules/neo.mjs/buildScripts/docs/jsdocx.mjs
Start default jsdocx parsing. Error: ERROR: Unable to parse a tag's type expression for source file /Users/username/repos/repoX/node_modules/neo.mjs/src/tree/Accordion.mjs in line 40 with tag title "member" and text "{Record[|null} selection=null": Invalid type expression "Record[|null": Expected "!", "#", "$", "(", "-", ".", "/", "0", ":", "<", "=", "?", "@", "[]", "\", "", "|", "~", "", "", Unicode combining mark, Unicode decimal number, Unicode letter number, Unicode lowercase letter, Unicode modifier letter, Unicode other letter, Unicode punctuation connector, Unicode titlecase letter, Unicode uppercase letter, [1-9], or end of input but "[" found. ERROR: Unable to parse a tag's type expression for source file /Users/username/repos/repoX/node_modules/neo.mjs/src/tree/Accordion.mjs in line 51 with tag title "member" and text "{Record[|null} selection=null": Invalid type expression "Record[|null": Expected "!", "#", "$", "(", "-", ".", "/", "0", ":", "<", "=", "?", "@", "[]", "\", "", "|", "~", "", "", Unicode combining mark, Unicode decimal number, Unicode letter number, Unicode lowercase letter, Unicode modifier letter, Unicode other letter, Unicode punctuation connector, Unicode titlecase letter, Unicode uppercase letter, [1-9], or end of input but "[" found.