Skip to content

Commit e6645a6

Browse files
committed
Add typedef
1 parent 20ec6d1 commit e6645a6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tools/docs/jsdoc/typedefs/objects.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@
4444
* @see [Buffer]{@link https://nodejs.org/api/buffer.html}
4545
*/
4646

47+
/**
48+
* A collection, which is defined as either an array, typed array, or an array-like object (excluding strings and functions).
49+
*
50+
* @typedef {(Array|TypedArray|Object)} Collection
51+
*/
52+
4753
/**
4854
* An instance of the built-in `Date` object.
4955
*

0 commit comments

Comments
 (0)