瀏覽代碼

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