@typescript-deploys/pr-build 5.0.0-pr-52240-9 → 5.0.0-pr-52280-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/tsc.js +198 -118
- package/lib/tsserver.js +244 -136
- package/lib/tsserverlibrary.d.ts +19 -10
- package/lib/tsserverlibrary.js +237 -136
- package/lib/typescript.d.ts +19 -10
- package/lib/typescript.js +230 -136
- package/lib/typingsInstaller.js +75 -42
- package/package.json +1 -1
package/lib/typescript.d.ts
CHANGED
|
@@ -400,14 +400,15 @@ declare namespace ts {
|
|
|
400
400
|
JSDocSeeTag = 350,
|
|
401
401
|
JSDocPropertyTag = 351,
|
|
402
402
|
JSDocThrowsTag = 352,
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
403
|
+
JSDocSatisfiesTag = 353,
|
|
404
|
+
SyntaxList = 354,
|
|
405
|
+
NotEmittedStatement = 355,
|
|
406
|
+
PartiallyEmittedExpression = 356,
|
|
407
|
+
CommaListExpression = 357,
|
|
408
|
+
MergeDeclarationMarker = 358,
|
|
409
|
+
EndOfDeclarationMarker = 359,
|
|
410
|
+
SyntheticReferenceExpression = 360,
|
|
411
|
+
Count = 361,
|
|
411
412
|
FirstAssignment = 63,
|
|
412
413
|
LastAssignment = 78,
|
|
413
414
|
FirstCompoundAssignment = 64,
|
|
@@ -436,9 +437,9 @@ declare namespace ts {
|
|
|
436
437
|
LastStatement = 256,
|
|
437
438
|
FirstNode = 163,
|
|
438
439
|
FirstJSDocNode = 312,
|
|
439
|
-
LastJSDocNode =
|
|
440
|
+
LastJSDocNode = 353,
|
|
440
441
|
FirstJSDocTagNode = 330,
|
|
441
|
-
LastJSDocTagNode =
|
|
442
|
+
LastJSDocTagNode = 353
|
|
442
443
|
}
|
|
443
444
|
type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
|
|
444
445
|
type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
@@ -2036,6 +2037,10 @@ declare namespace ts {
|
|
|
2036
2037
|
/** If true, then this type literal represents an *array* of its type. */
|
|
2037
2038
|
readonly isArrayType: boolean;
|
|
2038
2039
|
}
|
|
2040
|
+
interface JSDocSatisfiesTag extends JSDocTag {
|
|
2041
|
+
readonly kind: SyntaxKind.JSDocSatisfiesTag;
|
|
2042
|
+
readonly typeExpression: JSDocTypeExpression;
|
|
2043
|
+
}
|
|
2039
2044
|
enum FlowFlags {
|
|
2040
2045
|
Unreachable = 1,
|
|
2041
2046
|
Start = 2,
|
|
@@ -3888,6 +3893,8 @@ declare namespace ts {
|
|
|
3888
3893
|
updateJSDocOverrideTag(node: JSDocOverrideTag, tagName: Identifier, comment?: string | NodeArray<JSDocComment>): JSDocOverrideTag;
|
|
3889
3894
|
createJSDocThrowsTag(tagName: Identifier, typeExpression: JSDocTypeExpression | undefined, comment?: string | NodeArray<JSDocComment>): JSDocThrowsTag;
|
|
3890
3895
|
updateJSDocThrowsTag(node: JSDocThrowsTag, tagName: Identifier | undefined, typeExpression: JSDocTypeExpression | undefined, comment?: string | NodeArray<JSDocComment> | undefined): JSDocThrowsTag;
|
|
3896
|
+
createJSDocSatisfiesTag(tagName: Identifier | undefined, typeExpression: JSDocTypeExpression, comment?: string | NodeArray<JSDocComment>): JSDocSatisfiesTag;
|
|
3897
|
+
updateJSDocSatisfiesTag(node: JSDocSatisfiesTag, tagName: Identifier | undefined, typeExpression: JSDocTypeExpression, comment: string | NodeArray<JSDocComment> | undefined): JSDocSatisfiesTag;
|
|
3891
3898
|
createJSDocText(text: string): JSDocText;
|
|
3892
3899
|
updateJSDocText(node: JSDocText, text: string): JSDocText;
|
|
3893
3900
|
createJSDocComment(comment?: string | NodeArray<JSDocComment> | undefined, tags?: readonly JSDocTag[] | undefined): JSDoc;
|
|
@@ -4734,6 +4741,7 @@ declare namespace ts {
|
|
|
4734
4741
|
function getJSDocReturnTag(node: Node): JSDocReturnTag | undefined;
|
|
4735
4742
|
/** Gets the JSDoc template tag for the node if present */
|
|
4736
4743
|
function getJSDocTemplateTag(node: Node): JSDocTemplateTag | undefined;
|
|
4744
|
+
function getJSDocSatisfiesTag(node: Node): JSDocSatisfiesTag | undefined;
|
|
4737
4745
|
/** Gets the JSDoc type tag for the node if present and valid */
|
|
4738
4746
|
function getJSDocTypeTag(node: Node): JSDocTypeTag | undefined;
|
|
4739
4747
|
/**
|
|
@@ -5136,6 +5144,7 @@ declare namespace ts {
|
|
|
5136
5144
|
function isJSDocUnknownTag(node: Node): node is JSDocUnknownTag;
|
|
5137
5145
|
function isJSDocPropertyTag(node: Node): node is JSDocPropertyTag;
|
|
5138
5146
|
function isJSDocImplementsTag(node: Node): node is JSDocImplementsTag;
|
|
5147
|
+
function isJSDocSatisfiesTag(node: Node): node is JSDocSatisfiesTag;
|
|
5139
5148
|
function isJSDocThrowsTag(node: Node): node is JSDocThrowsTag;
|
|
5140
5149
|
function setTextRange<T extends TextRange>(range: T, location: TextRange | undefined): T;
|
|
5141
5150
|
function canHaveModifiers(node: Node): node is HasModifiers;
|