diff --git a/packages/cozy-stack-client/src/FileCollection.js b/packages/cozy-stack-client/src/FileCollection.js index ca8045fc8a..90f5ef0a4c 100644 --- a/packages/cozy-stack-client/src/FileCollection.js +++ b/packages/cozy-stack-client/src/FileCollection.js @@ -516,8 +516,7 @@ class FileCollection extends DocumentCollection { * * @private * @param {File|Blob|Stream|string|ArrayBuffer} data file to be uploaded - * @param {FileAttributes} params Additional parameters - * @param {object} params.options Options to pass to doUpload method (additional headers) + * @param {FileAttributes & object} params Additional parameters * @throws {Error} - explaining reason why creation failed * @returns {Promise} */