Skip to content
This repository was archived by the owner on Jun 5, 2020. It is now read-only.

Commit b23eb04

Browse files
committed
Merge pull request #4 from nicks/master
Fix the util.inspect contract
2 parents e891b4f + 46e0453 commit b23eb04

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

util.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,14 @@ util.log = function(string) {};
6868

6969
/**
7070
* @param {*} object
71-
* @param {boolean=} showHidden
72-
* @param {number=} depth
73-
* @param {boolean=} colors
71+
* @param {{showHidden: (boolean|undefined),
72+
* depth: (number|null|undefined),
73+
* colors: (boolean|undefined),
74+
* customInspect: (boolean|undefined)}=} options
7475
* @return {string}
7576
* @nosideeffects
7677
*/
77-
util.inspect = function(object, showHidden, depth, colors) {};
78+
util.inspect;
7879

7980
/**
8081
* @param {*} object

0 commit comments

Comments
 (0)