@typescript-deploys/pr-build 5.0.0-pr-51492-2 → 5.0.0-pr-51725-7
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.
- package/lib/lib.es2015.core.d.ts +2 -2
- package/lib/lib.es2022.sharedmemory.d.ts +15 -1
- package/lib/lib.es5.d.ts +1 -1
- package/lib/tsc.js +812 -818
- package/lib/tsserver.js +1589 -1243
- package/lib/tsserverlibrary.d.ts +30 -31
- package/lib/tsserverlibrary.js +1601 -1245
- package/lib/typescript.d.ts +30 -31
- package/lib/typescript.js +1590 -1242
- package/lib/typingsInstaller.js +217 -282
- package/package.json +1 -1
package/lib/lib.es2015.core.d.ts
CHANGED
|
@@ -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: (
|
|
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: (
|
|
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
|
/**
|
|
@@ -22,6 +22,20 @@ interface Atomics {
|
|
|
22
22
|
/**
|
|
23
23
|
* A non-blocking, asynchronous version of wait which is usable on the main thread.
|
|
24
24
|
* Waits asynchronously on a shared memory location and returns a Promise
|
|
25
|
+
* @param typedArray A shared Int32Array or BigInt64Array.
|
|
26
|
+
* @param index The position in the typedArray to wait on.
|
|
27
|
+
* @param value The expected value to test.
|
|
28
|
+
* @param [timeout] The expected value to test.
|
|
25
29
|
*/
|
|
26
|
-
waitAsync(typedArray:
|
|
30
|
+
waitAsync(typedArray: Int32Array, index: number, value: number, timeout?: number): { async: false, value: "not-equal" | "timed-out" } | { async: true, value: Promise<"ok" | "timed-out"> };
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* A non-blocking, asynchronous version of wait which is usable on the main thread.
|
|
34
|
+
* Waits asynchronously on a shared memory location and returns a Promise
|
|
35
|
+
* @param typedArray A shared Int32Array or BigInt64Array.
|
|
36
|
+
* @param index The position in the typedArray to wait on.
|
|
37
|
+
* @param value The expected value to test.
|
|
38
|
+
* @param [timeout] The expected value to test.
|
|
39
|
+
*/
|
|
40
|
+
waitAsync(typedArray: BigInt64Array, index: number, value: bigint, timeout?: number): { async: false, value: "not-equal" | "timed-out" } | { async: true, value: Promise<"ok" | "timed-out"> };
|
|
27
41
|
}
|
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
|
-
/**
|
|
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;
|