Skip to content

Commit 8acfb46

Browse files
dsherrettypescript-bot
authored andcommitted
Cherry-pick PR microsoft#54599 into release-5.1
Component commits: 297b647 fix(dts): `JsxSpreadAttribute` - remove `name` from types 08d2d73 Accept declaration changes
1 parent e6ceba0 commit 8acfb46

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

src/compiler/types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3258,7 +3258,6 @@ export type JsxAttributeValue =
32583258

32593259
export interface JsxSpreadAttribute extends ObjectLiteralElement {
32603260
readonly kind: SyntaxKind.JsxSpreadAttribute;
3261-
readonly name: PropertyName;
32623261
readonly parent: JsxAttributes;
32633262
readonly expression: Expression;
32643263
}

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5446,7 +5446,6 @@ declare namespace ts {
54465446
type JsxAttributeValue = StringLiteral | JsxExpression | JsxElement | JsxSelfClosingElement | JsxFragment;
54475447
interface JsxSpreadAttribute extends ObjectLiteralElement {
54485448
readonly kind: SyntaxKind.JsxSpreadAttribute;
5449-
readonly name: PropertyName;
54505449
readonly parent: JsxAttributes;
54515450
readonly expression: Expression;
54525451
}

tests/baselines/reference/api/typescript.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,6 @@ declare namespace ts {
13981398
type JsxAttributeValue = StringLiteral | JsxExpression | JsxElement | JsxSelfClosingElement | JsxFragment;
13991399
interface JsxSpreadAttribute extends ObjectLiteralElement {
14001400
readonly kind: SyntaxKind.JsxSpreadAttribute;
1401-
readonly name: PropertyName;
14021401
readonly parent: JsxAttributes;
14031402
readonly expression: Expression;
14041403
}

0 commit comments

Comments
 (0)