Syntax
@implements {typeExpression}
Overview
The @implements
tag indicates that a symbol implements an interface.
Add the @implements
tag to the top-level symbol that implements the interface (for example, a
constructor function). You do not need to add the @implements
tag to each member of the
implementation (for example, the implementation's instance methods).
If you do not document one of the symbols in the implementation, JSDoc will automatically use the interface's documentation for that symbol.
Examples
In the following example, the TransparentColor
class implements the Color
interface and adds
a TransparentColor#rgba
method.