Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo #630

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/types/AbstractType.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/types/YArray.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/types/YXmlFragment.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down