Skip to content

Rename of lone identifier in JSX attribute value fails #4404

@RyanCavanaugh

Description

@RyanCavanaugh

Fourslash:

//// class MyClass {
////   props: {
////     name?: string;
////     size?: number;
//// }
//// 
//// var [|nn|]: string;
//// var x = <MyClass name={[|n/**/n|]}></MyClass>;

goTo.marker();
verify.renameLocations(false, false);

From #4175

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions