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/typescript.d.ts
CHANGED
|
@@ -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 =
|
|
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:
|
|
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
|
|
1360
|
+
interface JsxNamespacedName extends Node {
|
|
1361
1361
|
readonly kind: SyntaxKind.JsxNamespacedName;
|
|
1362
1362
|
readonly name: Identifier;
|
|
1363
1363
|
readonly namespace: Identifier;
|