Closed canyuegongzi closed 2 weeks ago
Syntax is @type {typeName}
and your example is missing curly braces. Does it work if you add them?
This issue has been marked as "Question" and has seen no recent activity. It has been automatically closed for house-keeping purposes.
🔎 Search Terms
ts.getJSDocTags、type、get jsDoc、 get js doc tags
🕗 Version & Regression Information
⏯ Playground Link
No response
💻 Code
🙁 Actual behavior
the value of type is not actually returned { title: 'name', type: undefined, default: 'true' }
🙂 Expected behavior
Can correctly return the value string of @type annotation instead of returning undefined, example: { title: 'name', type: 'string', default: 'true' }
Additional information about the issue
No response