typescript 5.1.0-dev.20230508 → 5.1.0-dev.20230510
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 +233 -122
- package/lib/tsserver.js +249 -134
- package/lib/tsserverlibrary.d.ts +4 -4
- package/lib/tsserverlibrary.js +248 -134
- package/lib/typescript.d.ts +4 -4
- package/lib/typescript.js +247 -134
- package/lib/typingsInstaller.js +18 -6
- package/package.json +5 -5
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -4691,7 +4691,7 @@ declare namespace ts {
|
|
|
4691
4691
|
type EntityName = Identifier | QualifiedName;
|
|
4692
4692
|
type PropertyName = Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier;
|
|
4693
4693
|
type MemberName = Identifier | PrivateIdentifier;
|
|
4694
|
-
type DeclarationName =
|
|
4694
|
+
type DeclarationName = PropertyName | JsxAttributeName | StringLiteralLike | ElementAccessExpression | BindingPattern | EntityNameExpression;
|
|
4695
4695
|
interface Declaration extends Node {
|
|
4696
4696
|
_declarationBrand: any;
|
|
4697
4697
|
}
|
|
@@ -5038,7 +5038,7 @@ declare namespace ts {
|
|
|
5038
5038
|
readonly kind: SyntaxKind.StringLiteral;
|
|
5039
5039
|
}
|
|
5040
5040
|
type StringLiteralLike = StringLiteral | NoSubstitutionTemplateLiteral;
|
|
5041
|
-
type PropertyNameLiteral = Identifier | StringLiteralLike | NumericLiteral;
|
|
5041
|
+
type PropertyNameLiteral = Identifier | StringLiteralLike | NumericLiteral | JsxNamespacedName;
|
|
5042
5042
|
interface TemplateLiteralTypeNode extends TypeNode {
|
|
5043
5043
|
kind: SyntaxKind.TemplateLiteralType;
|
|
5044
5044
|
readonly head: TemplateHead;
|
|
@@ -5397,14 +5397,14 @@ declare namespace ts {
|
|
|
5397
5397
|
type JsxAttributeName = Identifier | JsxNamespacedName;
|
|
5398
5398
|
type JsxTagNameExpression = Identifier | ThisExpression | JsxTagNamePropertyAccess | JsxNamespacedName;
|
|
5399
5399
|
interface JsxTagNamePropertyAccess extends PropertyAccessExpression {
|
|
5400
|
-
readonly expression:
|
|
5400
|
+
readonly expression: Identifier | ThisExpression | JsxTagNamePropertyAccess;
|
|
5401
5401
|
}
|
|
5402
5402
|
interface JsxAttributes extends PrimaryExpression, Declaration {
|
|
5403
5403
|
readonly properties: NodeArray<JsxAttributeLike>;
|
|
5404
5404
|
readonly kind: SyntaxKind.JsxAttributes;
|
|
5405
5405
|
readonly parent: JsxOpeningLikeElement;
|
|
5406
5406
|
}
|
|
5407
|
-
interface JsxNamespacedName extends
|
|
5407
|
+
interface JsxNamespacedName extends Node {
|
|
5408
5408
|
readonly kind: SyntaxKind.JsxNamespacedName;
|
|
5409
5409
|
readonly name: Identifier;
|
|
5410
5410
|
readonly namespace: Identifier;
|