@typescript-deploys/pr-build 6.0.0-pr-62151-19 → 6.0.0-pr-62418-21

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.
Files changed (105) hide show
  1. package/lib/_tsc.js +246 -134
  2. package/lib/lib.d.ts +0 -2
  3. package/lib/lib.decorators.d.ts +0 -2
  4. package/lib/lib.decorators.legacy.d.ts +0 -2
  5. package/lib/lib.dom.asynciterable.d.ts +2 -25
  6. package/lib/lib.dom.d.ts +2216 -874
  7. package/lib/lib.dom.iterable.d.ts +2 -555
  8. package/lib/lib.es2015.collection.d.ts +0 -2
  9. package/lib/lib.es2015.core.d.ts +0 -2
  10. package/lib/lib.es2015.d.ts +0 -2
  11. package/lib/lib.es2015.generator.d.ts +0 -2
  12. package/lib/lib.es2015.iterable.d.ts +0 -2
  13. package/lib/lib.es2015.promise.d.ts +0 -2
  14. package/lib/lib.es2015.proxy.d.ts +0 -2
  15. package/lib/lib.es2015.reflect.d.ts +0 -2
  16. package/lib/lib.es2015.symbol.d.ts +0 -2
  17. package/lib/lib.es2015.symbol.wellknown.d.ts +0 -2
  18. package/lib/lib.es2016.array.include.d.ts +0 -2
  19. package/lib/lib.es2016.d.ts +0 -2
  20. package/lib/lib.es2016.full.d.ts +0 -2
  21. package/lib/lib.es2016.intl.d.ts +0 -2
  22. package/lib/lib.es2017.arraybuffer.d.ts +0 -2
  23. package/lib/lib.es2017.d.ts +0 -2
  24. package/lib/lib.es2017.date.d.ts +0 -2
  25. package/lib/lib.es2017.full.d.ts +0 -2
  26. package/lib/lib.es2017.intl.d.ts +0 -2
  27. package/lib/lib.es2017.object.d.ts +0 -2
  28. package/lib/lib.es2017.sharedmemory.d.ts +0 -2
  29. package/lib/lib.es2017.string.d.ts +0 -2
  30. package/lib/lib.es2017.typedarrays.d.ts +0 -2
  31. package/lib/lib.es2018.asyncgenerator.d.ts +0 -2
  32. package/lib/lib.es2018.asynciterable.d.ts +0 -2
  33. package/lib/lib.es2018.d.ts +0 -2
  34. package/lib/lib.es2018.full.d.ts +0 -2
  35. package/lib/lib.es2018.intl.d.ts +0 -2
  36. package/lib/lib.es2018.promise.d.ts +0 -2
  37. package/lib/lib.es2018.regexp.d.ts +0 -2
  38. package/lib/lib.es2019.array.d.ts +0 -2
  39. package/lib/lib.es2019.d.ts +0 -2
  40. package/lib/lib.es2019.full.d.ts +0 -2
  41. package/lib/lib.es2019.intl.d.ts +0 -2
  42. package/lib/lib.es2019.object.d.ts +0 -2
  43. package/lib/lib.es2019.string.d.ts +0 -2
  44. package/lib/lib.es2019.symbol.d.ts +0 -2
  45. package/lib/lib.es2020.bigint.d.ts +0 -2
  46. package/lib/lib.es2020.d.ts +0 -2
  47. package/lib/lib.es2020.date.d.ts +0 -2
  48. package/lib/lib.es2020.full.d.ts +0 -2
  49. package/lib/lib.es2020.intl.d.ts +0 -2
  50. package/lib/lib.es2020.number.d.ts +0 -2
  51. package/lib/lib.es2020.promise.d.ts +0 -2
  52. package/lib/lib.es2020.sharedmemory.d.ts +0 -2
  53. package/lib/lib.es2020.string.d.ts +0 -2
  54. package/lib/lib.es2020.symbol.wellknown.d.ts +0 -2
  55. package/lib/lib.es2021.d.ts +0 -2
  56. package/lib/lib.es2021.full.d.ts +0 -2
  57. package/lib/lib.es2021.intl.d.ts +0 -2
  58. package/lib/lib.es2021.promise.d.ts +0 -2
  59. package/lib/lib.es2021.string.d.ts +0 -2
  60. package/lib/lib.es2021.weakref.d.ts +0 -2
  61. package/lib/lib.es2022.array.d.ts +0 -2
  62. package/lib/lib.es2022.d.ts +0 -2
  63. package/lib/lib.es2022.error.d.ts +0 -2
  64. package/lib/lib.es2022.full.d.ts +0 -2
  65. package/lib/lib.es2022.intl.d.ts +0 -2
  66. package/lib/lib.es2022.object.d.ts +0 -2
  67. package/lib/lib.es2022.regexp.d.ts +0 -2
  68. package/lib/lib.es2022.string.d.ts +0 -2
  69. package/lib/lib.es2023.array.d.ts +0 -2
  70. package/lib/lib.es2023.collection.d.ts +0 -2
  71. package/lib/lib.es2023.d.ts +0 -2
  72. package/lib/lib.es2023.full.d.ts +0 -2
  73. package/lib/lib.es2023.intl.d.ts +0 -2
  74. package/lib/lib.es2024.arraybuffer.d.ts +0 -2
  75. package/lib/lib.es2024.collection.d.ts +0 -2
  76. package/lib/lib.es2024.d.ts +0 -2
  77. package/lib/lib.es2024.full.d.ts +0 -2
  78. package/lib/lib.es2024.object.d.ts +0 -2
  79. package/lib/lib.es2024.promise.d.ts +0 -2
  80. package/lib/lib.es2024.regexp.d.ts +0 -2
  81. package/lib/lib.es2024.sharedmemory.d.ts +0 -2
  82. package/lib/lib.es2024.string.d.ts +0 -2
  83. package/lib/lib.es5.d.ts +0 -2
  84. package/lib/lib.es6.d.ts +0 -2
  85. package/lib/lib.esnext.array.d.ts +0 -2
  86. package/lib/lib.esnext.collection.d.ts +0 -2
  87. package/lib/lib.esnext.d.ts +1 -2
  88. package/lib/lib.esnext.decorators.d.ts +0 -2
  89. package/lib/lib.esnext.disposable.d.ts +0 -2
  90. package/lib/lib.esnext.error.d.ts +0 -2
  91. package/lib/lib.esnext.float16.d.ts +0 -2
  92. package/lib/lib.esnext.full.d.ts +0 -2
  93. package/lib/lib.esnext.intl.d.ts +0 -2
  94. package/lib/lib.esnext.iterator.d.ts +0 -2
  95. package/lib/lib.esnext.promise.d.ts +0 -2
  96. package/lib/lib.esnext.sharedmemory.d.ts +0 -2
  97. package/lib/lib.esnext.typedarrays.d.ts +90 -0
  98. package/lib/lib.scripthost.d.ts +0 -2
  99. package/lib/lib.webworker.asynciterable.d.ts +2 -25
  100. package/lib/lib.webworker.d.ts +947 -329
  101. package/lib/lib.webworker.importscripts.d.ts +0 -2
  102. package/lib/lib.webworker.iterable.d.ts +2 -324
  103. package/lib/typescript.d.ts +3 -9
  104. package/lib/typescript.js +294 -171
  105. package/package.json +2 -3
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  interface RegExp {
20
18
  /**
21
19
  * Returns a Boolean value indicating the state of the unicodeSets flag (v) used with a regular expression.
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /// <reference lib="es2020.bigint" />
20
18
 
21
19
  interface Atomics {
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  interface String {
20
18
  /**
21
19
  * Returns true if all leading surrogates and trailing surrogates appear paired and in order.
package/lib/lib.es5.d.ts CHANGED
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /// <reference lib="decorators" />
20
18
  /// <reference lib="decorators.legacy" />
21
19
 
package/lib/lib.es6.d.ts CHANGED
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /// <reference lib="es2015" />
20
18
  /// <reference lib="dom" />
21
19
  /// <reference lib="dom.iterable" />
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  interface ArrayConstructor {
20
18
  /**
21
19
  * Creates an array from an async iterator or iterable object.
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /// <reference lib="es2024.collection" />
20
18
 
21
19
  interface ReadonlySetLike<T> {
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /// <reference lib="es2024" />
20
18
  /// <reference lib="esnext.intl" />
21
19
  /// <reference lib="esnext.decorators" />
@@ -27,3 +25,4 @@ and limitations under the License.
27
25
  /// <reference lib="esnext.float16" />
28
26
  /// <reference lib="esnext.error" />
29
27
  /// <reference lib="esnext.sharedmemory" />
28
+ /// <reference lib="esnext.typedarrays" />
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /// <reference lib="es2015.symbol" />
20
18
  /// <reference lib="decorators" />
21
19
 
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /// <reference lib="es2015.symbol" />
20
18
  /// <reference lib="es2015.iterable" />
21
19
  /// <reference lib="es2018.asynciterable" />
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  interface ErrorConstructor {
20
18
  /**
21
19
  * Indicates whether the argument provided is a built-in Error instance or not.
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /// <reference lib="es2015.symbol" />
20
18
  /// <reference lib="es2015.iterable" />
21
19
 
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /// <reference lib="esnext" />
20
18
  /// <reference lib="dom" />
21
19
  /// <reference lib="webworker.importscripts" />
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  declare namespace Intl {
20
18
  // Empty
21
19
  }
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /// <reference lib="es2015.iterable" />
20
18
 
21
19
  // NOTE: This is specified as what is essentially an unreachable module. All actual global declarations can be found
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  interface PromiseConstructor {
20
18
  /**
21
19
  * Takes a callback of any kind (returns or throws, synchronously or asynchronously) and wraps its result
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  interface Atomics {
20
18
  /**
21
19
  * Performs a finite-time microwait by signaling to the operating system or
@@ -0,0 +1,90 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {
18
+ /**
19
+ * Converts the `Uint8Array` to a base64-encoded string.
20
+ * @param options If provided, sets the alphabet and padding behavior used.
21
+ * @returns A base64-encoded string.
22
+ */
23
+ toBase64(
24
+ options?: {
25
+ alphabet?: "base64" | "base64url" | undefined;
26
+ omitPadding?: boolean | undefined;
27
+ },
28
+ ): string;
29
+
30
+ /**
31
+ * Sets the `Uint8Array` from a base64-encoded string.
32
+ * @param string The base64-encoded string.
33
+ * @param options If provided, specifies the alphabet and handling of the last chunk.
34
+ * @returns An object containing the number of bytes read and written.
35
+ * @throws {SyntaxError} If the input string contains characters outside the specified alphabet, or if the last
36
+ * chunk is inconsistent with the `lastChunkHandling` option.
37
+ */
38
+ setFromBase64(
39
+ string: string,
40
+ options?: {
41
+ alphabet?: "base64" | "base64url" | undefined;
42
+ lastChunkHandling?: "loose" | "strict" | "stop-before-partial" | undefined;
43
+ },
44
+ ): {
45
+ read: number;
46
+ written: number;
47
+ };
48
+
49
+ /**
50
+ * Converts the `Uint8Array` to a base16-encoded string.
51
+ * @returns A base16-encoded string.
52
+ */
53
+ toHex(): string;
54
+
55
+ /**
56
+ * Sets the `Uint8Array` from a base16-encoded string.
57
+ * @param string The base16-encoded string.
58
+ * @returns An object containing the number of bytes read and written.
59
+ */
60
+ setFromHex(string: string): {
61
+ read: number;
62
+ written: number;
63
+ };
64
+ }
65
+
66
+ interface Uint8ArrayConstructor {
67
+ /**
68
+ * Creates a new `Uint8Array` from a base64-encoded string.
69
+ * @param string The base64-encoded string.
70
+ * @param options If provided, specifies the alphabet and handling of the last chunk.
71
+ * @returns A new `Uint8Array` instance.
72
+ * @throws {SyntaxError} If the input string contains characters outside the specified alphabet, or if the last
73
+ * chunk is inconsistent with the `lastChunkHandling` option.
74
+ */
75
+ fromBase64(
76
+ string: string,
77
+ options?: {
78
+ alphabet?: "base64" | "base64url" | undefined;
79
+ lastChunkHandling?: "loose" | "strict" | "stop-before-partial" | undefined;
80
+ },
81
+ ): Uint8Array<ArrayBuffer>;
82
+
83
+ /**
84
+ * Creates a new `Uint8Array` from a base16-encoded string.
85
+ * @returns A new `Uint8Array` instance.
86
+ */
87
+ fromHex(
88
+ string: string,
89
+ ): Uint8Array<ArrayBuffer>;
90
+ }
@@ -14,8 +14,6 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
17
  /////////////////////////////
20
18
  /// Windows Script Host APIS
21
19
  /////////////////////////////
@@ -14,28 +14,5 @@ and limitations under the License.
14
14
  ***************************************************************************** */
15
15
 
16
16
 
17
- /// <reference no-default-lib="true"/>
18
-
19
- /////////////////////////////
20
- /// Worker Async Iterable APIs
21
- /////////////////////////////
22
-
23
- interface FileSystemDirectoryHandleAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
24
- [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<T>;
25
- }
26
-
27
- interface FileSystemDirectoryHandle {
28
- [Symbol.asyncIterator](): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
29
- entries(): FileSystemDirectoryHandleAsyncIterator<[string, FileSystemHandle]>;
30
- keys(): FileSystemDirectoryHandleAsyncIterator<string>;
31
- values(): FileSystemDirectoryHandleAsyncIterator<FileSystemHandle>;
32
- }
33
-
34
- interface ReadableStreamAsyncIterator<T> extends AsyncIteratorObject<T, BuiltinIteratorReturn, unknown> {
35
- [Symbol.asyncIterator](): ReadableStreamAsyncIterator<T>;
36
- }
37
-
38
- interface ReadableStream<R = any> {
39
- [Symbol.asyncIterator](options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
40
- values(options?: ReadableStreamIteratorOptions): ReadableStreamAsyncIterator<R>;
41
- }
17
+ // This file's contents are now included in the main types file.
18
+ // The file has been left for backward compatibility.