diff --git a/.eslintrc b/.eslintrc
index bad5041..5e007f0 100644
--- a/.eslintrc
+++ b/.eslintrc
@@ -5,6 +5,7 @@
"NodeJS": true
},
"rules": {
+ "jsdoc/no-defaults": 0,
"jsdoc/tag-lines": [
"error",
"never",
diff --git a/doc/api.md b/doc/api.md
index 7f8ca22..ab0a65e 100644
--- a/doc/api.md
+++ b/doc/api.md
@@ -68,7 +68,7 @@ Cloud Files Abstraction
* *[.read(filePath, [options])](#Files+read) ⇒ Promise.<Buffer>*
* *[.write(filePath, content)](#Files+write) ⇒ Promise.<number>*
* *[.getProperties(filePath)](#Files+getProperties) ⇒ [Promise.<RemoteFileProperties>](#RemoteFileProperties)*
- * *[.copy(srcPath, destPath, [options])](#Files+copy) ⇒ Promise.<Object.<string, string>>*
+ * *[.copy(srcPath, destPath, [options])](#Files+copy) ⇒ Promise.<{key: string}>*
* *[.generatePresignURL(filePath, options)](#Files+generatePresignURL) ⇒ Promise.<string>*
* *[.revokeAllPresignURLs()](#Files+revokeAllPresignURLs) ⇒ void*
@@ -185,7 +185,7 @@ Reads properties of a file or directory
-### *files.copy(srcPath, destPath, [options]) ⇒ Promise.<Object.<string, string>>*
+### *files.copy(srcPath, destPath, [options]) ⇒ Promise.<{key: string}>*
***NodeJS only (streams + fs).***
A utility function to copy files and directories across remote and local Files. This
@@ -212,7 +212,7 @@ Rules for copy files are:
- not supported
**Kind**: instance method of [Files](#Files)
-**Returns**: Promise.<Object.<string, string>> - returns a promise resolving to an object
+**Returns**: Promise.<{key: string}> - returns a promise resolving to an object
containing all copied files from src to dest `{ srcFilePath: destFilePath }`
| Param | Type | Default | Description |
diff --git a/lib/Files.js b/lib/Files.js
index f1d0cc3..ee136c0 100644
--- a/lib/Files.js
+++ b/lib/Files.js
@@ -640,7 +640,7 @@ class Files {
* @param {Function} [options.progressCallback] a function that will be called every
* time the operation completes on a single file,the srcPath and destPath to the copied
* file are passed as argument to the callback `progressCallback(srcPath, destPath)`
- * @returns {Promise