Skip to content

Object spread rename issue #12211

@normalser

Description

@normalser
const test = {
    a: 1
}

const d = { ...test }

Rename test on line 1 to foo

Result:

const foo = {
    a: 1
}

const d = { ...test }  // <-- Not renamed

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