@typescript-deploys/pr-build 4.6.0-pr-47183-2 → 4.6.0-pr-47400-2
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 +1 -0
- package/lib/lib.es2022.error.d.ts +50 -3
- package/lib/tsc.js +272 -124
- package/lib/tsserver.js +672 -346
- package/lib/tsserverlibrary.d.ts +5 -3
- package/lib/tsserverlibrary.js +643 -345
- package/lib/typescript.d.ts +4 -3
- package/lib/typescript.js +585 -323
- package/lib/typescriptServices.d.ts +4 -3
- package/lib/typescriptServices.js +585 -323
- package/lib/typingsInstaller.js +467 -242
- package/package.json +1 -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";
|
|
@@ -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
|
}
|