Sfoglia il codice sorgente

Docs: API docs corrections.

Krzysztof Krztoń 7 anni fa
parent
commit
9db6de29cd
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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 ) {