Skip to content

Commit ebfed88

Browse files
committed
Add throws annotation
1 parent bc1fab0 commit ebfed88

File tree

1 file changed

+1
-0
lines changed
  • lib/node_modules/@stdlib/utils/copy/lib

1 file changed

+1
-0
lines changed

lib/node_modules/@stdlib/utils/copy/lib/copy.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ var deepCopy = require( './deep_copy.js' );
3333
*
3434
* @param {*} value - value to copy
3535
* @param {NonNegativeInteger} [level=+infinity] - copy depth
36+
* @throws {TypeError} `level` must be a nonnegative integer
3637
* @returns {*} value copy
3738
*
3839
* @example

0 commit comments

Comments
 (0)