@dcloudio/uni-app-x 0.7.115 → 0.7.117

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 (128) hide show
  1. package/package.json +1 -1
  2. package/types/dom2-internal/UniElement.d.ts +1 -0
  3. package/types/dom2-internal/sharedData.d.ts +235 -127
  4. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/global.d.ts +2 -0
  5. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/index.d.ts +1 -0
  6. package/types/uni/uts-plugin-api/lib/uni-editor/utssdk/interface.d.ts +57 -3
  7. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/global.d.ts +2 -0
  8. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/index.d.ts +1 -0
  9. package/types/uni/uts-plugin-component/lib/uni-editor/utssdk/interface.d.ts +57 -3
  10. package/types/node_modules/.package-lock.json +0 -20
  11. package/types/node_modules/typescript/LICENSE.txt +0 -55
  12. package/types/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
  13. package/types/node_modules/typescript/bin/tsc +0 -2
  14. package/types/node_modules/typescript/bin/tsserver +0 -2
  15. package/types/node_modules/typescript/lib/cancellationToken.js +0 -90
  16. package/types/node_modules/typescript/lib/cs/diagnosticMessages.generated.json +0 -1880
  17. package/types/node_modules/typescript/lib/de/diagnosticMessages.generated.json +0 -1880
  18. package/types/node_modules/typescript/lib/es/diagnosticMessages.generated.json +0 -1880
  19. package/types/node_modules/typescript/lib/fr/diagnosticMessages.generated.json +0 -1880
  20. package/types/node_modules/typescript/lib/it/diagnosticMessages.generated.json +0 -1880
  21. package/types/node_modules/typescript/lib/ja/diagnosticMessages.generated.json +0 -1880
  22. package/types/node_modules/typescript/lib/ko/diagnosticMessages.generated.json +0 -1880
  23. package/types/node_modules/typescript/lib/lib.d.ts +0 -22
  24. package/types/node_modules/typescript/lib/lib.decorators.d.ts +0 -386
  25. package/types/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
  26. package/types/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -33
  27. package/types/node_modules/typescript/lib/lib.dom.d.ts +0 -28596
  28. package/types/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -475
  29. package/types/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
  30. package/types/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
  31. package/types/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
  32. package/types/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
  33. package/types/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -495
  34. package/types/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
  35. package/types/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
  36. package/types/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
  37. package/types/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
  38. package/types/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
  39. package/types/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
  40. package/types/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
  41. package/types/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
  42. package/types/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
  43. package/types/node_modules/typescript/lib/lib.es2017.d.ts +0 -25
  44. package/types/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
  45. package/types/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
  46. package/types/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
  47. package/types/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
  48. package/types/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
  49. package/types/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
  50. package/types/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
  51. package/types/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
  52. package/types/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -43
  53. package/types/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
  54. package/types/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
  55. package/types/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
  56. package/types/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
  57. package/types/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
  58. package/types/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
  59. package/types/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
  60. package/types/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
  61. package/types/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
  62. package/types/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
  63. package/types/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
  64. package/types/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
  65. package/types/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -727
  66. package/types/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
  67. package/types/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
  68. package/types/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
  69. package/types/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
  70. package/types/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
  71. package/types/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
  72. package/types/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -97
  73. package/types/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -42
  74. package/types/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -37
  75. package/types/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
  76. package/types/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
  77. package/types/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
  78. package/types/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
  79. package/types/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
  80. package/types/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -76
  81. package/types/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
  82. package/types/node_modules/typescript/lib/lib.es2022.d.ts +0 -26
  83. package/types/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -73
  84. package/types/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
  85. package/types/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -117
  86. package/types/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
  87. package/types/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
  88. package/types/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts +0 -39
  89. package/types/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
  90. package/types/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
  91. package/types/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
  92. package/types/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
  93. package/types/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
  94. package/types/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
  95. package/types/node_modules/typescript/lib/lib.es5.d.ts +0 -4585
  96. package/types/node_modules/typescript/lib/lib.es6.d.ts +0 -23
  97. package/types/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
  98. package/types/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -106
  99. package/types/node_modules/typescript/lib/lib.esnext.d.ts +0 -28
  100. package/types/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
  101. package/types/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -185
  102. package/types/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
  103. package/types/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
  104. package/types/node_modules/typescript/lib/lib.esnext.object.d.ts +0 -29
  105. package/types/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -35
  106. package/types/node_modules/typescript/lib/lib.esnext.regexp.d.ts +0 -25
  107. package/types/node_modules/typescript/lib/lib.esnext.string.d.ts +0 -29
  108. package/types/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
  109. package/types/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -33
  110. package/types/node_modules/typescript/lib/lib.webworker.d.ts +0 -9431
  111. package/types/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
  112. package/types/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -276
  113. package/types/node_modules/typescript/lib/pl/diagnosticMessages.generated.json +0 -1880
  114. package/types/node_modules/typescript/lib/pt-br/diagnosticMessages.generated.json +0 -1880
  115. package/types/node_modules/typescript/lib/ru/diagnosticMessages.generated.json +0 -1880
  116. package/types/node_modules/typescript/lib/tr/diagnosticMessages.generated.json +0 -1880
  117. package/types/node_modules/typescript/lib/tsc.js +0 -129741
  118. package/types/node_modules/typescript/lib/tsserver.js +0 -621
  119. package/types/node_modules/typescript/lib/tsserverlibrary.d.ts +0 -17
  120. package/types/node_modules/typescript/lib/tsserverlibrary.js +0 -21
  121. package/types/node_modules/typescript/lib/typesMap.json +0 -497
  122. package/types/node_modules/typescript/lib/typescript.d.ts +0 -11240
  123. package/types/node_modules/typescript/lib/typescript.js +0 -194910
  124. package/types/node_modules/typescript/lib/typingsInstaller.js +0 -236
  125. package/types/node_modules/typescript/lib/watchGuard.js +0 -53
  126. package/types/node_modules/typescript/lib/zh-cn/diagnosticMessages.generated.json +0 -1880
  127. package/types/node_modules/typescript/lib/zh-tw/diagnosticMessages.generated.json +0 -1880
  128. package/types/node_modules/typescript/package.json +0 -116
@@ -1,23 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2015" />
20
- /// <reference lib="dom" />
21
- /// <reference lib="dom.iterable" />
22
- /// <reference lib="webworker.importscripts" />
23
- /// <reference lib="scripthost" />
@@ -1,35 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface ArrayConstructor {
20
- /**
21
- * Creates an array from an async iterator or iterable object.
22
- * @param iterableOrArrayLike An async iterator or array-like object to convert to an array.
23
- */
24
- fromAsync<T>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T | PromiseLike<T>> | ArrayLike<T | PromiseLike<T>>): Promise<T[]>;
25
-
26
- /**
27
- * Creates an array from an async iterator or iterable object.
28
- *
29
- * @param iterableOrArrayLike An async iterator or array-like object to convert to an array.
30
- * @param mapfn A mapping function to call on every element of itarableOrArrayLike.
31
- * Each return value is awaited before being added to result array.
32
- * @param thisArg Value of 'this' used when executing mapfn.
33
- */
34
- fromAsync<T, U>(iterableOrArrayLike: AsyncIterable<T> | Iterable<T> | ArrayLike<T>, mapFn: (value: Awaited<T>) => U, thisArg?: any): Promise<Awaited<U>[]>;
35
- }
@@ -1,106 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface MapConstructor {
20
- /**
21
- * Groups members of an iterable according to the return value of the passed callback.
22
- * @param items An iterable.
23
- * @param keySelector A callback which will be invoked for each item in items.
24
- */
25
- groupBy<K, T>(
26
- items: Iterable<T>,
27
- keySelector: (item: T, index: number) => K,
28
- ): Map<K, T[]>;
29
- }
30
-
31
- interface ReadonlySetLike<T> {
32
- /**
33
- * Despite its name, returns an iterator of the values in the set-like.
34
- */
35
- keys(): Iterator<T>;
36
- /**
37
- * @returns a boolean indicating whether an element with the specified value exists in the set-like or not.
38
- */
39
- has(value: T): boolean;
40
- /**
41
- * @returns the number of (unique) elements in the set-like.
42
- */
43
- readonly size: number;
44
- }
45
-
46
- interface Set<T> {
47
- /**
48
- * @returns a new Set containing all the elements in this Set and also all the elements in the argument.
49
- */
50
- union<U>(other: ReadonlySetLike<U>): Set<T | U>;
51
- /**
52
- * @returns a new Set containing all the elements which are both in this Set and in the argument.
53
- */
54
- intersection<U>(other: ReadonlySetLike<U>): Set<T & U>;
55
- /**
56
- * @returns a new Set containing all the elements in this Set which are not also in the argument.
57
- */
58
- difference<U>(other: ReadonlySetLike<U>): Set<T>;
59
- /**
60
- * @returns a new Set containing all the elements which are in either this Set or in the argument, but not in both.
61
- */
62
- symmetricDifference<U>(other: ReadonlySetLike<U>): Set<T | U>;
63
- /**
64
- * @returns a boolean indicating whether all the elements in this Set are also in the argument.
65
- */
66
- isSubsetOf(other: ReadonlySetLike<unknown>): boolean;
67
- /**
68
- * @returns a boolean indicating whether all the elements in the argument are also in this Set.
69
- */
70
- isSupersetOf(other: ReadonlySetLike<unknown>): boolean;
71
- /**
72
- * @returns a boolean indicating whether this Set has no elements in common with the argument.
73
- */
74
- isDisjointFrom(other: ReadonlySetLike<unknown>): boolean;
75
- }
76
-
77
- interface ReadonlySet<T> {
78
- /**
79
- * @returns a new Set containing all the elements in this Set and also all the elements in the argument.
80
- */
81
- union<U>(other: ReadonlySetLike<U>): Set<T | U>;
82
- /**
83
- * @returns a new Set containing all the elements which are both in this Set and in the argument.
84
- */
85
- intersection<U>(other: ReadonlySetLike<U>): Set<T & U>;
86
- /**
87
- * @returns a new Set containing all the elements in this Set which are not also in the argument.
88
- */
89
- difference<U>(other: ReadonlySetLike<U>): Set<T>;
90
- /**
91
- * @returns a new Set containing all the elements which are in either this Set or in the argument, but not in both.
92
- */
93
- symmetricDifference<U>(other: ReadonlySetLike<U>): Set<T | U>;
94
- /**
95
- * @returns a boolean indicating whether all the elements in this Set are also in the argument.
96
- */
97
- isSubsetOf(other: ReadonlySetLike<unknown>): boolean;
98
- /**
99
- * @returns a boolean indicating whether all the elements in the argument are also in this Set.
100
- */
101
- isSupersetOf(other: ReadonlySetLike<unknown>): boolean;
102
- /**
103
- * @returns a boolean indicating whether this Set has no elements in common with the argument.
104
- */
105
- isDisjointFrom(other: ReadonlySetLike<unknown>): boolean;
106
- }
@@ -1,28 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2023" />
20
- /// <reference lib="esnext.intl" />
21
- /// <reference lib="esnext.decorators" />
22
- /// <reference lib="esnext.disposable" />
23
- /// <reference lib="esnext.promise" />
24
- /// <reference lib="esnext.object" />
25
- /// <reference lib="esnext.collection" />
26
- /// <reference lib="esnext.array" />
27
- /// <reference lib="esnext.regexp" />
28
- /// <reference lib="esnext.string" />
@@ -1,28 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2015.symbol" />
20
- /// <reference lib="decorators" />
21
-
22
- interface SymbolConstructor {
23
- readonly metadata: unique symbol;
24
- }
25
-
26
- interface Function {
27
- [Symbol.metadata]: DecoratorMetadata | null;
28
- }
@@ -1,185 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="es2015.symbol" />
20
-
21
- interface SymbolConstructor {
22
- /**
23
- * A method that is used to release resources held by an object. Called by the semantics of the `using` statement.
24
- */
25
- readonly dispose: unique symbol;
26
-
27
- /**
28
- * A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement.
29
- */
30
- readonly asyncDispose: unique symbol;
31
- }
32
-
33
- interface Disposable {
34
- [Symbol.dispose](): void;
35
- }
36
-
37
- interface AsyncDisposable {
38
- [Symbol.asyncDispose](): PromiseLike<void>;
39
- }
40
-
41
- interface SuppressedError extends Error {
42
- error: any;
43
- suppressed: any;
44
- }
45
-
46
- interface SuppressedErrorConstructor {
47
- new (error: any, suppressed: any, message?: string): SuppressedError;
48
- (error: any, suppressed: any, message?: string): SuppressedError;
49
- readonly prototype: SuppressedError;
50
- }
51
- declare var SuppressedError: SuppressedErrorConstructor;
52
-
53
- interface DisposableStack {
54
- /**
55
- * Returns a value indicating whether this stack has been disposed.
56
- */
57
- readonly disposed: boolean;
58
- /**
59
- * Disposes each resource in the stack in the reverse order that they were added.
60
- */
61
- dispose(): void;
62
- /**
63
- * Adds a disposable resource to the stack, returning the resource.
64
- * @param value The resource to add. `null` and `undefined` will not be added, but will be returned.
65
- * @returns The provided {@link value}.
66
- */
67
- use<T extends Disposable | null | undefined>(value: T): T;
68
- /**
69
- * Adds a value and associated disposal callback as a resource to the stack.
70
- * @param value The value to add.
71
- * @param onDispose The callback to use in place of a `[Symbol.dispose]()` method. Will be invoked with `value`
72
- * as the first parameter.
73
- * @returns The provided {@link value}.
74
- */
75
- adopt<T>(value: T, onDispose: (value: T) => void): T;
76
- /**
77
- * Adds a callback to be invoked when the stack is disposed.
78
- */
79
- defer(onDispose: () => void): void;
80
- /**
81
- * Move all resources out of this stack and into a new `DisposableStack`, and marks this stack as disposed.
82
- * @example
83
- * ```ts
84
- * class C {
85
- * #res1: Disposable;
86
- * #res2: Disposable;
87
- * #disposables: DisposableStack;
88
- * constructor() {
89
- * // stack will be disposed when exiting constructor for any reason
90
- * using stack = new DisposableStack();
91
- *
92
- * // get first resource
93
- * this.#res1 = stack.use(getResource1());
94
- *
95
- * // get second resource. If this fails, both `stack` and `#res1` will be disposed.
96
- * this.#res2 = stack.use(getResource2());
97
- *
98
- * // all operations succeeded, move resources out of `stack` so that they aren't disposed
99
- * // when constructor exits
100
- * this.#disposables = stack.move();
101
- * }
102
- *
103
- * [Symbol.dispose]() {
104
- * this.#disposables.dispose();
105
- * }
106
- * }
107
- * ```
108
- */
109
- move(): DisposableStack;
110
- [Symbol.dispose](): void;
111
- readonly [Symbol.toStringTag]: string;
112
- }
113
-
114
- interface DisposableStackConstructor {
115
- new (): DisposableStack;
116
- readonly prototype: DisposableStack;
117
- }
118
- declare var DisposableStack: DisposableStackConstructor;
119
-
120
- interface AsyncDisposableStack {
121
- /**
122
- * Returns a value indicating whether this stack has been disposed.
123
- */
124
- readonly disposed: boolean;
125
- /**
126
- * Disposes each resource in the stack in the reverse order that they were added.
127
- */
128
- disposeAsync(): Promise<void>;
129
- /**
130
- * Adds a disposable resource to the stack, returning the resource.
131
- * @param value The resource to add. `null` and `undefined` will not be added, but will be returned.
132
- * @returns The provided {@link value}.
133
- */
134
- use<T extends AsyncDisposable | Disposable | null | undefined>(value: T): T;
135
- /**
136
- * Adds a value and associated disposal callback as a resource to the stack.
137
- * @param value The value to add.
138
- * @param onDisposeAsync The callback to use in place of a `[Symbol.asyncDispose]()` method. Will be invoked with `value`
139
- * as the first parameter.
140
- * @returns The provided {@link value}.
141
- */
142
- adopt<T>(value: T, onDisposeAsync: (value: T) => PromiseLike<void> | void): T;
143
- /**
144
- * Adds a callback to be invoked when the stack is disposed.
145
- */
146
- defer(onDisposeAsync: () => PromiseLike<void> | void): void;
147
- /**
148
- * Move all resources out of this stack and into a new `DisposableStack`, and marks this stack as disposed.
149
- * @example
150
- * ```ts
151
- * class C {
152
- * #res1: Disposable;
153
- * #res2: Disposable;
154
- * #disposables: DisposableStack;
155
- * constructor() {
156
- * // stack will be disposed when exiting constructor for any reason
157
- * using stack = new DisposableStack();
158
- *
159
- * // get first resource
160
- * this.#res1 = stack.use(getResource1());
161
- *
162
- * // get second resource. If this fails, both `stack` and `#res1` will be disposed.
163
- * this.#res2 = stack.use(getResource2());
164
- *
165
- * // all operations succeeded, move resources out of `stack` so that they aren't disposed
166
- * // when constructor exits
167
- * this.#disposables = stack.move();
168
- * }
169
- *
170
- * [Symbol.dispose]() {
171
- * this.#disposables.dispose();
172
- * }
173
- * }
174
- * ```
175
- */
176
- move(): AsyncDisposableStack;
177
- [Symbol.asyncDispose](): Promise<void>;
178
- readonly [Symbol.toStringTag]: string;
179
- }
180
-
181
- interface AsyncDisposableStackConstructor {
182
- new (): AsyncDisposableStack;
183
- readonly prototype: AsyncDisposableStack;
184
- }
185
- declare var AsyncDisposableStack: AsyncDisposableStackConstructor;
@@ -1,24 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- /// <reference lib="esnext" />
20
- /// <reference lib="dom" />
21
- /// <reference lib="webworker.importscripts" />
22
- /// <reference lib="scripthost" />
23
- /// <reference lib="dom.iterable" />
24
- /// <reference lib="dom.asynciterable" />
@@ -1,21 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- declare namespace Intl {
20
- // Empty
21
- }
@@ -1,29 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface ObjectConstructor {
20
- /**
21
- * Groups members of an iterable according to the return value of the passed callback.
22
- * @param items An iterable.
23
- * @param keySelector A callback which will be invoked for each item in items.
24
- */
25
- groupBy<K extends PropertyKey, T>(
26
- items: Iterable<T>,
27
- keySelector: (item: T, index: number) => K,
28
- ): Partial<Record<K, T[]>>;
29
- }
@@ -1,35 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface PromiseWithResolvers<T> {
20
- promise: Promise<T>;
21
- resolve: (value: T | PromiseLike<T>) => void;
22
- reject: (reason?: any) => void;
23
- }
24
-
25
- interface PromiseConstructor {
26
- /**
27
- * Creates a new Promise and returns it in an object, along with its resolve and reject functions.
28
- * @returns An object with the properties `promise`, `resolve`, and `reject`.
29
- *
30
- * ```ts
31
- * const { promise, resolve, reject } = Promise.withResolvers<T>();
32
- * ```
33
- */
34
- withResolvers<T>(): PromiseWithResolvers<T>;
35
- }
@@ -1,25 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface RegExp {
20
- /**
21
- * Returns a Boolean value indicating the state of the unicodeSets flag (v) used with a regular expression.
22
- * Default is false. Read-only.
23
- */
24
- readonly unicodeSets: boolean;
25
- }
@@ -1,29 +0,0 @@
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
- /// <reference no-default-lib="true"/>
18
-
19
- interface String {
20
- /**
21
- * Returns true if all leading surrogates and trailing surrogates appear paired and in order.
22
- */
23
- isWellFormed(): boolean;
24
-
25
- /**
26
- * Returns a string where all lone or out-of-order surrogates have been replaced by the Unicode replacement character (U+FFFD).
27
- */
28
- toWellFormed(): string;
29
- }