May 18, 2022
Table of Contents
- Related Links
@inheritdoc tag indicates that a symbol should inherit its documentation from its parent class. Any other tags that you include in the JSDoc comment will be ignored.
This tag is provided for compatibility with Closure Compiler. By default, if you do not add a JSDoc comment to a symbol, the symbol will inherit documentation from its parent.
The presence of the
@inheritdoc tag implies the presence of the
The following example shows how a class can indicate that it inherits documentation from its parent class:
You can get the same result by omitting the JSDoc comment from