Przeglądaj źródła

Docs: Use @returns. [skip ci]

Piotrek Koszuliński 7 lat temu
rodzic
commit
04e59f5b10
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      packages/ckeditor5-typing/src/input.js

+ 1 - 1
packages/ckeditor5-typing/src/input.js

@@ -459,7 +459,7 @@ function hasOnlyTextNodes( children ) {
 //
 // @private
 // @param diffResult
-// @return {{insertions: number, deletions: number, firstChangeAt: *}}
+// @returns {{insertions: number, deletions: number, firstChangeAt: *}}
 function calculateChanges( diffResult ) {
 	// Index where the first change happens. Used to set the position from which nodes will be removed and where will be inserted.
 	let firstChangeAt = null;