typescript 5.1.0-dev.20230509 → 5.1.0-dev.20230511

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.
@@ -644,7 +644,7 @@ declare namespace ts {
644
644
  type EntityName = Identifier | QualifiedName;
645
645
  type PropertyName = Identifier | StringLiteral | NumericLiteral | ComputedPropertyName | PrivateIdentifier;
646
646
  type MemberName = Identifier | PrivateIdentifier;
647
- type DeclarationName = Identifier | PrivateIdentifier | StringLiteralLike | NumericLiteral | ComputedPropertyName | ElementAccessExpression | BindingPattern | EntityNameExpression;
647
+ type DeclarationName = PropertyName | JsxAttributeName | StringLiteralLike | ElementAccessExpression | BindingPattern | EntityNameExpression;
648
648
  interface Declaration extends Node {
649
649
  _declarationBrand: any;
650
650
  }
@@ -991,7 +991,7 @@ declare namespace ts {
991
991
  readonly kind: SyntaxKind.StringLiteral;
992
992
  }
993
993
  type StringLiteralLike = StringLiteral | NoSubstitutionTemplateLiteral;
994
- type PropertyNameLiteral = Identifier | StringLiteralLike | NumericLiteral;
994
+ type PropertyNameLiteral = Identifier | StringLiteralLike | NumericLiteral | JsxNamespacedName;
995
995
  interface TemplateLiteralTypeNode extends TypeNode {
996
996
  kind: SyntaxKind.TemplateLiteralType;
997
997
  readonly head: TemplateHead;
@@ -1350,14 +1350,14 @@ declare namespace ts {
1350
1350
  type JsxAttributeName = Identifier | JsxNamespacedName;
1351
1351
  type JsxTagNameExpression = Identifier | ThisExpression | JsxTagNamePropertyAccess | JsxNamespacedName;
1352
1352
  interface JsxTagNamePropertyAccess extends PropertyAccessExpression {
1353
- readonly expression: JsxTagNameExpression;
1353
+ readonly expression: Identifier | ThisExpression | JsxTagNamePropertyAccess;
1354
1354
  }
1355
1355
  interface JsxAttributes extends PrimaryExpression, Declaration {
1356
1356
  readonly properties: NodeArray<JsxAttributeLike>;
1357
1357
  readonly kind: SyntaxKind.JsxAttributes;
1358
1358
  readonly parent: JsxOpeningLikeElement;
1359
1359
  }
1360
- interface JsxNamespacedName extends PrimaryExpression {
1360
+ interface JsxNamespacedName extends Node {
1361
1361
  readonly kind: SyntaxKind.JsxNamespacedName;
1362
1362
  readonly name: Identifier;
1363
1363
  readonly namespace: Identifier;