Ver código fonte

Docs: Use @returns. [skip ci]

Piotrek Koszuliński 7 anos atrás
pai
commit
04e59f5b10
1 arquivos alterados com 1 adições e 1 exclusões
  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;