瀏覽代碼

Make `config` parameter optional.

Co-Authored-By: Szymon Cofalik <s.cofalik@cksource.com>
Piotr Jasiun 6 年之前
父節點
當前提交
7923c3ff18
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-watchdog/src/watchdog.js

+ 1 - 1
packages/ckeditor5-watchdog/src/watchdog.js

@@ -59,7 +59,7 @@ import areConnectedThroughProperties from '@ckeditor/ckeditor5-utils/src/areconn
  */
 export default class Watchdog {
 	/**
-	 * @param {Object} config The watchdog plugin configuration.
+	 * @param {Object} [config] The watchdog plugin configuration.
 	 * @param {Number} [config.crashNumberLimit=3] A threshold specifying the number of crashes
 	 * when the watchdog stops restarting the editor in case of errors.
 	 * @param {Number} [config.waitingTime=5000] A minimum amount of milliseconds between saving editor data internally.