@typescript-deploys/pr-build 5.0.0-pr-49929-73 → 5.0.0-pr-52280-7
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 +206 -131
- package/lib/tsserver.js +239 -140
- package/lib/tsserverlibrary.d.ts +19 -10
- package/lib/tsserverlibrary.js +232 -140
- package/lib/typescript.d.ts +19 -10
- package/lib/typescript.js +225 -140
- package/lib/typingsInstaller.js +77 -44
- package/package.json +2 -2
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -4341,14 +4341,15 @@ declare namespace ts {
|
|
|
4341
4341
|
JSDocSeeTag = 350,
|
|
4342
4342
|
JSDocPropertyTag = 351,
|
|
4343
4343
|
JSDocThrowsTag = 352,
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4344
|
+
JSDocSatisfiesTag = 353,
|
|
4345
|
+
SyntaxList = 354,
|
|
4346
|
+
NotEmittedStatement = 355,
|
|
4347
|
+
PartiallyEmittedExpression = 356,
|
|
4348
|
+
CommaListExpression = 357,
|
|
4349
|
+
MergeDeclarationMarker = 358,
|
|
4350
|
+
EndOfDeclarationMarker = 359,
|
|
4351
|
+
SyntheticReferenceExpression = 360,
|
|
4352
|
+
Count = 361,
|
|
4352
4353
|
FirstAssignment = 63,
|
|
4353
4354
|
LastAssignment = 78,
|
|
4354
4355
|
FirstCompoundAssignment = 64,
|
|
@@ -4377,9 +4378,9 @@ declare namespace ts {
|
|
|
4377
4378
|
LastStatement = 256,
|
|
4378
4379
|
FirstNode = 163,
|
|
4379
4380
|
FirstJSDocNode = 312,
|
|
4380
|
-
LastJSDocNode =
|
|
4381
|
+
LastJSDocNode = 353,
|
|
4381
4382
|
FirstJSDocTagNode = 330,
|
|
4382
|
-
LastJSDocTagNode =
|
|
4383
|
+
LastJSDocTagNode = 353
|
|
4383
4384
|
}
|
|
4384
4385
|
type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
|
|
4385
4386
|
type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
@@ -5977,6 +5978,10 @@ declare namespace ts {
|
|
|
5977
5978
|
/** If true, then this type literal represents an *array* of its type. */
|
|
5978
5979
|
readonly isArrayType: boolean;
|
|
5979
5980
|
}
|
|
5981
|
+
interface JSDocSatisfiesTag extends JSDocTag {
|
|
5982
|
+
readonly kind: SyntaxKind.JSDocSatisfiesTag;
|
|
5983
|
+
readonly typeExpression: JSDocTypeExpression;
|
|
5984
|
+
}
|
|
5980
5985
|
enum FlowFlags {
|
|
5981
5986
|
Unreachable = 1,
|
|
5982
5987
|
Start = 2,
|
|
@@ -7829,6 +7834,8 @@ declare namespace ts {
|
|
|
7829
7834
|
updateJSDocOverrideTag(node: JSDocOverrideTag, tagName: Identifier | undefined, comment?: string | NodeArray<JSDocComment>): JSDocOverrideTag;
|
|
7830
7835
|
createJSDocThrowsTag(tagName: Identifier, typeExpression: JSDocTypeExpression | undefined, comment?: string | NodeArray<JSDocComment>): JSDocThrowsTag;
|
|
7831
7836
|
updateJSDocThrowsTag(node: JSDocThrowsTag, tagName: Identifier | undefined, typeExpression: JSDocTypeExpression | undefined, comment?: string | NodeArray<JSDocComment> | undefined): JSDocThrowsTag;
|
|
7837
|
+
createJSDocSatisfiesTag(tagName: Identifier | undefined, typeExpression: JSDocTypeExpression, comment?: string | NodeArray<JSDocComment>): JSDocSatisfiesTag;
|
|
7838
|
+
updateJSDocSatisfiesTag(node: JSDocSatisfiesTag, tagName: Identifier | undefined, typeExpression: JSDocTypeExpression, comment: string | NodeArray<JSDocComment> | undefined): JSDocSatisfiesTag;
|
|
7832
7839
|
createJSDocText(text: string): JSDocText;
|
|
7833
7840
|
updateJSDocText(node: JSDocText, text: string): JSDocText;
|
|
7834
7841
|
createJSDocComment(comment?: string | NodeArray<JSDocComment> | undefined, tags?: readonly JSDocTag[] | undefined): JSDoc;
|
|
@@ -8699,6 +8706,7 @@ declare namespace ts {
|
|
|
8699
8706
|
function getJSDocReturnTag(node: Node): JSDocReturnTag | undefined;
|
|
8700
8707
|
/** Gets the JSDoc template tag for the node if present */
|
|
8701
8708
|
function getJSDocTemplateTag(node: Node): JSDocTemplateTag | undefined;
|
|
8709
|
+
function getJSDocSatisfiesTag(node: Node): JSDocSatisfiesTag | undefined;
|
|
8702
8710
|
/** Gets the JSDoc type tag for the node if present and valid */
|
|
8703
8711
|
function getJSDocTypeTag(node: Node): JSDocTypeTag | undefined;
|
|
8704
8712
|
/**
|
|
@@ -9101,6 +9109,7 @@ declare namespace ts {
|
|
|
9101
9109
|
function isJSDocUnknownTag(node: Node): node is JSDocUnknownTag;
|
|
9102
9110
|
function isJSDocPropertyTag(node: Node): node is JSDocPropertyTag;
|
|
9103
9111
|
function isJSDocImplementsTag(node: Node): node is JSDocImplementsTag;
|
|
9112
|
+
function isJSDocSatisfiesTag(node: Node): node is JSDocSatisfiesTag;
|
|
9104
9113
|
function isJSDocThrowsTag(node: Node): node is JSDocThrowsTag;
|
|
9105
9114
|
function setTextRange<T extends TextRange>(range: T, location: TextRange | undefined): T;
|
|
9106
9115
|
function canHaveModifiers(node: Node): node is HasModifiers;
|