@typescript-deploys/pr-build 4.6.0-pr-47050-2 → 4.6.0-pr-47126-5
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.es2020.intl.d.ts +2 -1
- package/lib/lib.es2022.error.d.ts +50 -3
- package/lib/tsc.js +303 -187
- package/lib/tsserver.js +467 -259
- package/lib/tsserverlibrary.d.ts +6 -4
- package/lib/tsserverlibrary.js +438 -258
- package/lib/typescript.d.ts +5 -4
- package/lib/typescript.js +434 -257
- package/lib/typescriptServices.d.ts +5 -4
- package/lib/typescriptServices.js +434 -257
- package/lib/typingsInstaller.js +374 -219
- package/package.json +2 -1
package/lib/lib.es2020.intl.d.ts
CHANGED
|
@@ -297,6 +297,7 @@ declare namespace Intl {
|
|
|
297
297
|
};
|
|
298
298
|
|
|
299
299
|
interface DisplayNamesOptions {
|
|
300
|
+
locale: UnicodeBCP47LocaleIdentifier;
|
|
300
301
|
localeMatcher: RelativeTimeFormatLocaleMatcher;
|
|
301
302
|
style: RelativeTimeFormatStyle;
|
|
302
303
|
type: "language" | "region" | "script" | "currency";
|
|
@@ -319,7 +320,7 @@ declare namespace Intl {
|
|
|
319
320
|
*
|
|
320
321
|
* [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of).
|
|
321
322
|
*/
|
|
322
|
-
of(code: string): string;
|
|
323
|
+
of(code: string): string | undefined;
|
|
323
324
|
/**
|
|
324
325
|
* Returns a new object with properties reflecting the locale and style formatting options computed during the construction of the current
|
|
325
326
|
* [`Intl/DisplayNames`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames) object.
|
|
@@ -19,10 +19,57 @@ and limitations under the License.
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
interface ErrorOptions {
|
|
22
|
-
|
|
22
|
+
cause?: Error;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
interface Error {
|
|
26
|
+
cause?: Error;
|
|
23
27
|
}
|
|
24
28
|
|
|
25
29
|
interface ErrorConstructor {
|
|
26
|
-
|
|
27
|
-
|
|
30
|
+
new (message?: string, options?: ErrorOptions): Error;
|
|
31
|
+
(message?: string, options?: ErrorOptions): Error;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
interface EvalErrorConstructor {
|
|
35
|
+
new (message?: string, options?: ErrorOptions): EvalError;
|
|
36
|
+
(message?: string, options?: ErrorOptions): EvalError;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
interface RangeErrorConstructor {
|
|
40
|
+
new (message?: string, options?: ErrorOptions): RangeError;
|
|
41
|
+
(message?: string, options?: ErrorOptions): RangeError;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
interface ReferenceErrorConstructor {
|
|
45
|
+
new (message?: string, options?: ErrorOptions): ReferenceError;
|
|
46
|
+
(message?: string, options?: ErrorOptions): ReferenceError;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
interface SyntaxErrorConstructor {
|
|
50
|
+
new (message?: string, options?: ErrorOptions): SyntaxError;
|
|
51
|
+
(message?: string, options?: ErrorOptions): SyntaxError;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
interface TypeErrorConstructor {
|
|
55
|
+
new (message?: string, options?: ErrorOptions): TypeError;
|
|
56
|
+
(message?: string, options?: ErrorOptions): TypeError;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
interface URIErrorConstructor {
|
|
60
|
+
new (message?: string, options?: ErrorOptions): URIError;
|
|
61
|
+
(message?: string, options?: ErrorOptions): URIError;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
interface AggregateErrorConstructor {
|
|
65
|
+
new (
|
|
66
|
+
errors: Iterable<any>,
|
|
67
|
+
message?: string,
|
|
68
|
+
options?: ErrorOptions
|
|
69
|
+
): AggregateError;
|
|
70
|
+
(
|
|
71
|
+
errors: Iterable<any>,
|
|
72
|
+
message?: string,
|
|
73
|
+
options?: ErrorOptions
|
|
74
|
+
): AggregateError;
|
|
28
75
|
}
|