Переглянути джерело

Update src/imageupload/utils.js

Co-Authored-By: f1ames <dr.odpowiedz@gmail.com>
Maciej 7 роки тому
батько
коміт
5a3adf5940
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      packages/ckeditor5-image/src/imageupload/utils.js

+ 1 - 1
packages/ckeditor5-image/src/imageupload/utils.js

@@ -25,7 +25,7 @@ export function isImageType( file ) {
  * Creates a promise which fetches the image local source (base64 or blob) and resolves with a `File` object.
  *
  * @param {module:engine/view/element~Element} image Image which source to fetch.
- * @returns {Promise} A promise which resolves when image source is fetched and converted to `File` instance.
+ * @returns {Promise.<File>} A promise which resolves when image source is fetched and converted to `File` instance.
  * It resolves with a `File` object. If there were any errors during file processing the promise will be rejected.
  */
 export function fetchLocalImage( image ) {