@typescript-deploys/pr-build 5.3.0-pr-55576-6 → 5.3.0-pr-55600-13
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/tsc.js +989 -79
- package/lib/tsserver.js +1033 -84
- package/lib/typescript.d.ts +27 -1
- package/lib/typescript.js +1032 -86
- package/lib/typingsInstaller.js +988 -78
- package/package.json +2 -2
package/lib/typescript.d.ts
CHANGED
|
@@ -5445,6 +5445,19 @@ declare namespace ts {
|
|
|
5445
5445
|
interface RegularExpressionLiteral extends LiteralExpression {
|
|
5446
5446
|
readonly kind: SyntaxKind.RegularExpressionLiteral;
|
|
5447
5447
|
}
|
|
5448
|
+
enum RegularExpressionFlags {
|
|
5449
|
+
None = 0,
|
|
5450
|
+
HasIndices = 1,
|
|
5451
|
+
Global = 2,
|
|
5452
|
+
IgnoreCase = 4,
|
|
5453
|
+
Multiline = 8,
|
|
5454
|
+
DotAll = 16,
|
|
5455
|
+
Unicode = 32,
|
|
5456
|
+
UnicodeSets = 64,
|
|
5457
|
+
Sticky = 128,
|
|
5458
|
+
UnicodeMode = 96,
|
|
5459
|
+
Modifiers = 28,
|
|
5460
|
+
}
|
|
5448
5461
|
interface NoSubstitutionTemplateLiteral extends LiteralExpression, TemplateLiteralLikeNode, Declaration {
|
|
5449
5462
|
readonly kind: SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
5450
5463
|
}
|
|
@@ -7322,6 +7335,11 @@ declare namespace ts {
|
|
|
7322
7335
|
source?: string;
|
|
7323
7336
|
relatedInformation?: DiagnosticRelatedInformation[];
|
|
7324
7337
|
}
|
|
7338
|
+
type DiagnosticArguments = (string | number)[];
|
|
7339
|
+
type DiagnosticAndArguments = [
|
|
7340
|
+
message: DiagnosticMessage,
|
|
7341
|
+
...args: DiagnosticArguments,
|
|
7342
|
+
];
|
|
7325
7343
|
interface DiagnosticRelatedInformation {
|
|
7326
7344
|
category: DiagnosticCategory;
|
|
7327
7345
|
code: number;
|
|
@@ -7335,6 +7353,12 @@ declare namespace ts {
|
|
|
7335
7353
|
start: number;
|
|
7336
7354
|
length: number;
|
|
7337
7355
|
}
|
|
7356
|
+
interface DiagnosticWithDetachedLocation extends Diagnostic {
|
|
7357
|
+
file: undefined;
|
|
7358
|
+
fileName: string;
|
|
7359
|
+
start: number;
|
|
7360
|
+
length: number;
|
|
7361
|
+
}
|
|
7338
7362
|
enum DiagnosticCategory {
|
|
7339
7363
|
Warning = 0,
|
|
7340
7364
|
Error = 1,
|
|
@@ -7584,6 +7608,8 @@ declare namespace ts {
|
|
|
7584
7608
|
ES2020 = 7,
|
|
7585
7609
|
ES2021 = 8,
|
|
7586
7610
|
ES2022 = 9,
|
|
7611
|
+
ES2023 = 10,
|
|
7612
|
+
ES2024 = 11,
|
|
7587
7613
|
ESNext = 99,
|
|
7588
7614
|
JSON = 100,
|
|
7589
7615
|
Latest = 99,
|
|
@@ -8721,7 +8747,7 @@ declare namespace ts {
|
|
|
8721
8747
|
function isIdentifierStart(ch: number, languageVersion: ScriptTarget | undefined): boolean;
|
|
8722
8748
|
function isIdentifierPart(ch: number, languageVersion: ScriptTarget | undefined, identifierVariant?: LanguageVariant): boolean;
|
|
8723
8749
|
function createScanner(languageVersion: ScriptTarget, skipTrivia: boolean, languageVariant?: LanguageVariant, textInitial?: string, onError?: ErrorCallback, start?: number, length?: number): Scanner;
|
|
8724
|
-
type ErrorCallback = (message: DiagnosticMessage, length: number,
|
|
8750
|
+
type ErrorCallback = (message: DiagnosticMessage, pos: number, length: number, ...args: DiagnosticArguments) => DiagnosticWithDetachedLocation | undefined;
|
|
8725
8751
|
interface Scanner {
|
|
8726
8752
|
/** @deprecated use {@link getTokenFullStart} */
|
|
8727
8753
|
getStartPos(): number;
|