[js] fix jsdoc comments
This commit is contained in:
parent
cdd6564b51
commit
1ff3a56ef3
@ -1,4 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* Represents an error that is thrown when the calling a pure virtual method.
|
||||||
|
* @class
|
||||||
|
* @extends {Error}
|
||||||
|
*/
|
||||||
export class VirtualMethodNotImplementedError extends Error {
|
export class VirtualMethodNotImplementedError extends Error {
|
||||||
|
/** @constructor */
|
||||||
constructor() {
|
constructor() {
|
||||||
super('virtual method not implemented.');
|
super('virtual method not implemented.');
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ export class Queue {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns an iterator that allows iterating through the elements of the queue.
|
* Returns an iterator that allows iterating through the elements of the queue.
|
||||||
* @returns {*} elements of the queue.
|
* @yields {*} elements of the queue.
|
||||||
* @generator
|
* @generator
|
||||||
*/
|
*/
|
||||||
*[Symbol.iterator]() {
|
*[Symbol.iterator]() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user