We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12983bd commit b40648dCopy full SHA for b40648d
src/methods/object-id-pad.js
@@ -5,7 +5,7 @@
5
* @description Merge received ObjectID string with new index.
6
* @param {string} id - Base ID string, 24 digits hexadecimal
7
* @param {string} index - The index to be inserted on the end of base ID, creating new ObjectID
8
- * @returns {string}
+ * @returns {string & { length: 24 }}
9
*
10
* @example
11
* const id = '5ce59fbf887ef430f1f6ed29'
src/methods/random-object-id.js
@@ -3,7 +3,7 @@
3
* @memberof ecomUtils
4
* @name randomObjectId
* @description Generate a random object id with 24 chars hexadecimal string.
* ecomUtils.randomObjectId()
0 commit comments