Преглед на файлове

Docs: API docs corrections.

Krzysztof Krztoń преди 7 години
родител
ревизия
9db6de29cd
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      packages/ckeditor5-upload/src/filerepository.js

+ 2 - 2
packages/ckeditor5-upload/src/filerepository.js

@@ -370,9 +370,9 @@ class FileLoader {
 	}
 
 	/**
-	 * Returns a `Promise` which resolves to a `File` instance associated with this file loader.
+	 * A `Promise` which resolves to a `File` instance associated with this file loader.
 	 *
-	 * @type {Promise.<File>}
+	 * @type {Promise.<File|null>}
 	 */
 	get file() {
 		if ( !this._filePromiseWrapper ) {