swc/crates/jsdoc/tests/fixtures/augmentall.js

28 lines
386 B
JavaScript
Raw Normal View History

2020-08-14 12:20:25 +03:00
/**
* Parent interface.
* @interface
*/
function Connection() {}
/**
* Open the connection.
*/
Connection.prototype.open = function() {};
/**
* Child class.
* @class
* @implements {Connection}
*/
function Socket() {}
/** @inheritdoc */
Socket.prototype.open = function() {};
/**
* Extension of child class.
* @class
* @extends {Socket}
*/
function EncryptedSocket() {}