We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts.getJSDocTags、type、get jsDoc、 get js doc tags
No response
export default interface CommonHeaderIProps { /** * name * * @title name * @type string * @default true */ testList: TestListData; } // code const jsdoc = ts.getJSDocTags(node); // code
the value of type is not actually returned { title: 'name', type: undefined, default: 'true' }
Can correctly return the value string of @type annotation instead of returning undefined, example: { title: 'name', type: 'string', default: 'true' }
The text was updated successfully, but these errors were encountered:
Syntax is @type {typeName} and your example is missing curly braces. Does it work if you add them?
@type {typeName}
Sorry, something went wrong.
This issue has been marked as "Question" and has seen no recent activity. It has been automatically closed for house-keeping purposes.
No branches or pull requests
🔎 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
The text was updated successfully, but these errors were encountered: