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
@inheritDoc
@inheritdoc, getter, update
After updating to the latest version, my @inheritDoc usage causes warnings to be printed (and is ineffective). The project I'm working on is available on GitHub and a previously working usage is at https://github.com/oliversalzburg/plantdb/tree/d36454b25dea8d5530e24e92634c6c0020de23e3/packages/libplantdb/source/LogEntry.ts#L83
The warning for that line would be:
warning LogEntrySerialized.__type.id tried to copy a comment from @plantdb/libplantdb with @inheritdoc, but the source has no associated comment.
So how do I copy from the getters now or how should I restructure the code layout to not have to repeat these comments?
The text was updated successfully, but these errors were encountered:
Shoot, this is an edge case that slipped through...
Sorry, something went wrong.
In 0.23.3 TypeDoc will let you do this:
export class Foo { /** getter */ get x() { return 1; } /** setter */ set x(value: number) { throw new Error(); } } export class Bar { /** {@inheritDoc Foo.x} */ x = 1; // getter comment /** {@inheritDoc Foo.x:getter} */ y = 2; // getter comment /** {@inheritDoc Foo.x:setter} */ z = 3; // setter comment }
Thought I'd be able to get this out today, but want to get #1966 in it too, so will be tomorrow
fa51445
Nice. I'll migrate once it's out and give it a go :)
No branches or pull requests
Search terms
@inheritdoc, getter, update
Question
After updating to the latest version, my
@inheritDoc
usage causes warnings to be printed (and is ineffective). The project I'm working on is available on GitHub and a previously working usage is at https://github.com/oliversalzburg/plantdb/tree/d36454b25dea8d5530e24e92634c6c0020de23e3/packages/libplantdb/source/LogEntry.ts#L83The warning for that line would be:
So how do I copy from the getters now or how should I restructure the code layout to not have to repeat these comments?
The text was updated successfully, but these errors were encountered: