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

28 lines
412 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 interface.
* @interface
* @extends {Connection}
*/
function Socket() {}
/**
* Implementation of child interface.
* @class
* @implements {Socket}
*/
function EncryptedSocket() {}
/** @inheritdoc */
EncryptedSocket.prototype.open = function() {};