@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/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 | undefined, 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;
|
|
@@ -4758,6 +4765,7 @@ declare namespace ts {
|
|
|
4758
4765
|
function getJSDocReturnTag(node: Node): JSDocReturnTag | undefined;
|
|
4759
4766
|
/** Gets the JSDoc template tag for the node if present */
|
|
4760
4767
|
function getJSDocTemplateTag(node: Node): JSDocTemplateTag | undefined;
|
|
4768
|
+
function getJSDocSatisfiesTag(node: Node): JSDocSatisfiesTag | undefined;
|
|
4761
4769
|
/** Gets the JSDoc type tag for the node if present and valid */
|
|
4762
4770
|
function getJSDocTypeTag(node: Node): JSDocTypeTag | undefined;
|
|
4763
4771
|
/**
|
|
@@ -5160,6 +5168,7 @@ declare namespace ts {
|
|
|
5160
5168
|
function isJSDocUnknownTag(node: Node): node is JSDocUnknownTag;
|
|
5161
5169
|
function isJSDocPropertyTag(node: Node): node is JSDocPropertyTag;
|
|
5162
5170
|
function isJSDocImplementsTag(node: Node): node is JSDocImplementsTag;
|
|
5171
|
+
function isJSDocSatisfiesTag(node: Node): node is JSDocSatisfiesTag;
|
|
5163
5172
|
function isJSDocThrowsTag(node: Node): node is JSDocThrowsTag;
|
|
5164
5173
|
function setTextRange<T extends TextRange>(range: T, location: TextRange | undefined): T;
|
|
5165
5174
|
function canHaveModifiers(node: Node): node is HasModifiers;
|