镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Object spread rename issue #12211

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

Activity

  1. added this to the milestone on Nov 13, 2016
  2. sandersn commented on Nov 15, 2016

    @sandersn
    Member

    Fix is up at #12248

  3. locked and limited conversation to collaborators on Jun 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions