mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-11 00:55:01 -06:00
Fix for Issue 61081 (#61221)
This commit is contained in:
parent
833a8d492c
commit
87740bc7fe
8
src/lib/es5.d.ts
vendored
8
src/lib/es5.d.ts
vendored
@ -1378,14 +1378,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.
|
||||
*/
|
||||
|
||||
@ -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"
|
||||
}
|
||||
]
|
||||
|
||||
@ -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.
|
||||
// */
|
||||
@ -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.
|
||||
// */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user