summaryrefslogtreecommitdiff
path: root/cli/tsc/dts/lib.es2015.core.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tsc/dts/lib.es2015.core.d.ts')
-rw-r--r--cli/tsc/dts/lib.es2015.core.d.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/cli/tsc/dts/lib.es2015.core.d.ts b/cli/tsc/dts/lib.es2015.core.d.ts
index e55dc65c8..ecd2e029e 100644
--- a/cli/tsc/dts/lib.es2015.core.d.ts
+++ b/cli/tsc/dts/lib.es2015.core.d.ts
@@ -14,10 +14,8 @@ and limitations under the License.
***************************************************************************** */
-
/// <reference no-default-lib="true"/>
-
interface Array<T> {
/**
* Returns the value of the first element in the array where predicate is true, and undefined
@@ -28,7 +26,7 @@ interface Array<T> {
* @param thisArg If provided, it will be used as the this value for each invocation of
* predicate. If it is not provided, undefined is used instead.
*/
- find<S extends T>(predicate: (this: void, value: T, index: number, obj: T[]) => value is S, thisArg?: any): S | undefined;
+ find<S extends T>(predicate: (value: T, index: number, obj: T[]) => value is S, thisArg?: any): S | undefined;
find(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T | undefined;
/**
@@ -349,7 +347,7 @@ interface ReadonlyArray<T> {
* @param thisArg If provided, it will be used as the this value for each invocation of
* predicate. If it is not provided, undefined is used instead.
*/
- find<S extends T>(predicate: (this: void, value: T, index: number, obj: readonly T[]) => value is S, thisArg?: any): S | undefined;
+ find<S extends T>(predicate: (value: T, index: number, obj: readonly T[]) => value is S, thisArg?: any): S | undefined;
find(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): T | undefined;
/**