소스 검색

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 ) {