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.
@@ -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 = Identifier | PrivateIdentifier | StringLiteralLike | NumericLiteral | ComputedPropertyName | ElementAccessExpression | BindingPattern | EntityNameExpression;
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: JsxTagNameExpression;
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 PrimaryExpression {
5407
+ interface JsxNamespacedName extends Node {
5408
5408
  readonly kind: SyntaxKind.JsxNamespacedName;
5409
5409
  readonly name: Identifier;
5410
5410
  readonly namespace: Identifier;