Skip to content

Commit

Permalink
Cherry-pick PR microsoft#54599 into release-5.1
Browse files Browse the repository at this point in the history
Component commits:
297b647 fix(dts): `JsxSpreadAttribute` - remove `name` from types

08d2d73 Accept declaration changes
  • Loading branch information
dsherret authored and typescript-bot committed Jun 21, 2023
1 parent e6ceba0 commit 8acfb46
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/compiler/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3258,7 +3258,6 @@ export type JsxAttributeValue =

export interface JsxSpreadAttribute extends ObjectLiteralElement {
readonly kind: SyntaxKind.JsxSpreadAttribute;
readonly name: PropertyName;
readonly parent: JsxAttributes;
readonly expression: Expression;
}
Expand Down
1 change: 0 additions & 1 deletion tests/baselines/reference/api/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5446,7 +5446,6 @@ declare namespace ts {
type JsxAttributeValue = StringLiteral | JsxExpression | JsxElement | JsxSelfClosingElement | JsxFragment;
interface JsxSpreadAttribute extends ObjectLiteralElement {
readonly kind: SyntaxKind.JsxSpreadAttribute;
readonly name: PropertyName;
readonly parent: JsxAttributes;
readonly expression: Expression;
}
Expand Down
1 change: 0 additions & 1 deletion tests/baselines/reference/api/typescript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,6 @@ declare namespace ts {
type JsxAttributeValue = StringLiteral | JsxExpression | JsxElement | JsxSelfClosingElement | JsxFragment;
interface JsxSpreadAttribute extends ObjectLiteralElement {
readonly kind: SyntaxKind.JsxSpreadAttribute;
readonly name: PropertyName;
readonly parent: JsxAttributes;
readonly expression: Expression;
}
Expand Down

0 comments on commit 8acfb46

Please sign in to comment.