Merge pull request #630 from sakihet/fix-typo

fix typo
This commit is contained in:
Kevin Jahns 2024-04-15 18:54:02 +02:00 committed by GitHub
commit 05d974cee1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -481,7 +481,7 @@ export const typeListToArraySnapshot = (type, snapshot) => {
}
/**
* Executes a provided function on once on overy element of this YArray.
* Executes a provided function on once on every element of this YArray.
*
* @param {AbstractType<any>} type
* @param {function(any,number,any):void} f A function to execute on every element of this YArray.
@ -573,7 +573,7 @@ export const typeListCreateIterator = type => {
}
/**
* Executes a provided function on once on overy element of this YArray.
* Executes a provided function on once on every element of this YArray.
* Operates on a snapshotted state of the document.
*
* @param {AbstractType<any>} type

View File

@ -248,7 +248,7 @@ export class YArray extends AbstractType {
}
/**
* Executes a provided function once on overy element of this YArray.
* Executes a provided function once on every element of this YArray.
*
* @param {function(T,number,YArray<T>):void} f A function to execute on every element of this YArray.
*/

View File

@ -410,7 +410,7 @@ export class YXmlFragment extends AbstractType {
}
/**
* Executes a provided function on once on overy child element.
* Executes a provided function on once on every child element.
*
* @param {function(YXmlElement|YXmlText,number, typeof self):void} f A function to execute on every element of this YArray.
*/