@typescript-deploys/pr-build 5.0.0-pr-51492-2 → 5.0.0-pr-50996-9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -28,7 +28,7 @@ interface Array<T> {
28
28
  * @param thisArg If provided, it will be used as the this value for each invocation of
29
29
  * predicate. If it is not provided, undefined is used instead.
30
30
  */
31
- find<S extends T>(predicate: (this: void, value: T, index: number, obj: T[]) => value is S, thisArg?: any): S | undefined;
31
+ find<S extends T>(predicate: (value: T, index: number, obj: T[]) => value is S, thisArg?: any): S | undefined;
32
32
  find(predicate: (value: T, index: number, obj: T[]) => unknown, thisArg?: any): T | undefined;
33
33
 
34
34
  /**
@@ -349,7 +349,7 @@ interface ReadonlyArray<T> {
349
349
  * @param thisArg If provided, it will be used as the this value for each invocation of
350
350
  * predicate. If it is not provided, undefined is used instead.
351
351
  */
352
- find<S extends T>(predicate: (this: void, value: T, index: number, obj: readonly T[]) => value is S, thisArg?: any): S | undefined;
352
+ find<S extends T>(predicate: (value: T, index: number, obj: readonly T[]) => value is S, thisArg?: any): S | undefined;
353
353
  find(predicate: (value: T, index: number, obj: readonly T[]) => unknown, thisArg?: any): T | undefined;
354
354
 
355
355
  /**
package/lib/lib.es5.d.ts CHANGED
@@ -761,7 +761,7 @@ interface Date {
761
761
  toLocaleTimeString(): string;
762
762
  /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */
763
763
  valueOf(): number;
764
- /** Gets the time value in milliseconds. */
764
+ /** Returns the stored time value in milliseconds since midnight, January 1, 1970 UTC. */
765
765
  getTime(): number;
766
766
  /** Gets the year, using local time. */
767
767
  getFullYear(): number;