mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 16:17:50 +00:00
Add jsdoc constructor tags. [ci skip]
This commit is contained in:
@@ -1569,6 +1569,7 @@
|
||||
* Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.
|
||||
*
|
||||
* @private
|
||||
* @constructor
|
||||
* @param {*} value The value to wrap.
|
||||
*/
|
||||
function LazyWrapper(value) {
|
||||
@@ -1683,6 +1684,7 @@
|
||||
* Creates an hash object.
|
||||
*
|
||||
* @private
|
||||
* @constructor
|
||||
* @returns {Object} Returns the new hash object.
|
||||
*/
|
||||
function Hash() {}
|
||||
@@ -1745,6 +1747,7 @@
|
||||
* Creates a map cache object to store key-value pairs.
|
||||
*
|
||||
* @private
|
||||
* @constructor
|
||||
* @param {Array} [values] The values to cache.
|
||||
*/
|
||||
function MapCache(values) {
|
||||
@@ -1849,6 +1852,7 @@
|
||||
* Creates a set cache object to store unique values.
|
||||
*
|
||||
* @private
|
||||
* @constructor
|
||||
* @param {Array} [values] The values to cache.
|
||||
*/
|
||||
function SetCache(values) {
|
||||
@@ -1907,6 +1911,7 @@
|
||||
* Creates a stack cache object to store key-value pairs.
|
||||
*
|
||||
* @private
|
||||
* @constructor
|
||||
* @param {Array} [values] The values to cache.
|
||||
*/
|
||||
function Stack(values) {
|
||||
|
||||
@@ -353,11 +353,11 @@
|
||||
.join('');
|
||||
|
||||
/**
|
||||
* The custom error constructor.
|
||||
* Creates a custom error object.
|
||||
*
|
||||
* @private
|
||||
* @constructor
|
||||
* @param {string} message The error message.
|
||||
* @returns {Object} Returns the new error object instance.
|
||||
*/
|
||||
function CustomError(message) {
|
||||
this.name = 'CustomError';
|
||||
|
||||
Reference in New Issue
Block a user