Skip to content

Commit 1f9d84b

Browse files
Adjust JSDoc
1 parent a62c5c2 commit 1f9d84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* If an error is thrown during execution, the error is silently ignored and `undefined` is returned.
44
*
55
* @param {Function} fn - The function to execute.
6-
* @returns {*} The return value of the function, or `undefined` if an error occurred.
6+
* @returns {any} The return value of the function, or `undefined` if an error occurred.
77
*/
88
export default function niceTry(fn) {
99
try {

0 commit comments

Comments
 (0)