Typescript: Renaming property with space

Created on 11 Oct 2016  路  1Comment  路  Source: microsoft/TypeScript

Not sure if VSCode or TSServer issue:

interface Test {
    "alpha beta": string
}

const a : Test = {
    "alpha beta": "test"
}

Put cursor inside beta of interface and rename with F2

image

Box to rename shows only beta - shall it show alpha beta ?

Rename to beta2

Result:

image

Should be alpha beta2

Bug

Most helpful comment

VSCode issue.

e.g. works fine in alm :rose:

rename string

>All comments

VSCode issue.

e.g. works fine in alm :rose:

rename string

Was this page helpful?
0 / 5 - 0 ratings

Related issues

siddjain picture siddjain  路  3Comments

DanielRosenwasser picture DanielRosenwasser  路  3Comments

uber5001 picture uber5001  路  3Comments

Roam-Cooper picture Roam-Cooper  路  3Comments

CyrusNajmabadi picture CyrusNajmabadi  路  3Comments