Skip to content

Commit 3a8c49a

Browse files
authored
docs: specify return type of objDisplay (#1490)
previously it was incorrectly labeled as `objDisplay(obj: object): void` in `@types/chai`.
1 parent b455124 commit 3a8c49a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/chai/utils/objDisplay.js

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ var config = require('../config');
1919
* messages or should be truncated.
2020
*
2121
* @param {Mixed} javascript object to inspect
22+
* @returns {string} stringified object
2223
* @name objDisplay
2324
* @namespace Utils
2425
* @api public

0 commit comments

Comments
 (0)