Skip to content

Fix for Issue 61081 #61221

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
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
8 changes: 6 additions & 2 deletions src/lib/es5.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1375,14 +1375,18 @@ interface Array<T> {
/**
* Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
* @param start The zero-based location in the array from which to start removing elements.
* @param deleteCount The number of elements to remove.
* @param deleteCount The number of elements to remove. Omitting this argument will remove all elements from the start
* paramater location to end of the array. If value of this argument is either a negative number, zero, undefined, or a type
* that cannot be converted to an integer, the function will evaluate the argument as zero and not remove any elements.
* @returns An array containing the elements that were deleted.
*/
splice(start: number, deleteCount?: number): T[];
/**
* Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
* @param start The zero-based location in the array from which to start removing elements.
* @param deleteCount The number of elements to remove.
* @param deleteCount The number of elements to remove. If value of this argument is either a negative number, zero,
* undefined, or a type that cannot be converted to an integer, the function will evaluate the argument as zero and
* not remove any elements.
* @param items Elements to insert into the array in place of the deleted elements.
* @returns An array containing the elements that were deleted.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4404,7 +4404,7 @@
"kind": "space"
},
{
"text": "The number of elements to remove.",
"text": "The number of elements to remove. Omitting this argument will remove all elements from the start\nparamater location to end of the array. If value of this argument is either a negative number, zero, undefined, or a type\nthat cannot be converted to an integer, the function will evaluate the argument as zero and not remove any elements.",
"kind": "text"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,18 @@
// /**
// * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
// * @param start The zero-based location in the array from which to start removing elements.
// * @param deleteCount The number of elements to remove.
// * @param deleteCount The number of elements to remove. Omitting this argument will remove all elements from the start
// * paramater location to end of the array. If value of this argument is either a negative number, zero, undefined, or a type
// * that cannot be converted to an integer, the function will evaluate the argument as zero and not remove any elements.
// * @returns An array containing the elements that were deleted.
// */
// splice(start: number, deleteCount?: number): T[];
// /**
// * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
// * @param start The zero-based location in the array from which to start removing elements.
// * @param deleteCount The number of elements to remove.
// * @param deleteCount The number of elements to remove. If value of this argument is either a negative number, zero,
// * undefined, or a type that cannot be converted to an integer, the function will evaluate the argument as zero and
// * not remove any elements.
// * @param items Elements to insert into the array in place of the deleted elements.
// * @returns An array containing the elements that were deleted.
// */
Expand Down Expand Up @@ -340,14 +344,18 @@
// /**
// * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
// * @param start The zero-based location in the array from which to start removing elements.
// * @param deleteCount The number of elements to remove.
// * @param deleteCount The number of elements to remove. Omitting this argument will remove all elements from the start
// * paramater location to end of the array. If value of this argument is either a negative number, zero, undefined, or a type
// * that cannot be converted to an integer, the function will evaluate the argument as zero and not remove any elements.
// * @returns An array containing the elements that were deleted.
// */
// splice(start: number, deleteCount?: number): T[];
// /**
// * Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
// * @param start The zero-based location in the array from which to start removing elements.
// * @param deleteCount The number of elements to remove.
// * @param deleteCount The number of elements to remove. If value of this argument is either a negative number, zero,
// * undefined, or a type that cannot be converted to an integer, the function will evaluate the argument as zero and
// * not remove any elements.
// * @param items Elements to insert into the array in place of the deleted elements.
// * @returns An array containing the elements that were deleted.
// */
Expand Down