Parcourir la source

Update docs.

Co-Authored-By: Szymon Cofalik <s.cofalik@cksource.com>
Piotr Jasiun il y a 6 ans
Parent
commit
4f33ee960e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      packages/ckeditor5-watchdog/src/watchdog.js

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

@@ -182,7 +182,7 @@ export default class Watchdog {
 
 	/**
 	 * Sets the function that is responsible for editor destruction.
-	 * It accepts function that returns a promise or undefined.
+	 * It expects a function that should return a promise or `undefined`.
 	 *
 	 *		watchdog.setDestructor( editor => editor.destroy() );
 	 *