Selaa lähdekoodia

Docs: API docs corrections.

Krzysztof Krztoń 7 vuotta sitten
vanhempi
commit
9db6de29cd
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  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 ) {