π Search Terms
space in index signature
π Version & Regression Information
This is the behavior in every version I tried, but the display is slightly different
version > 4.5.5: "\"x\" "
version <= 4.5.5: "x\""
β― Playground Link
https://www.typescriptlang.org/play/?ts=5.8.3#code/JYOwLgpgTgZghgYwgAgAoHtRmQbwLABQyyA2gEQAeZyAugFzIgCuAtgEbSED0XAegPyFi5AJ5l6jVhyiEAvoSA
π» Code
interface Point {
["x" ]: number
//^? (property) Point["\"x\" "]: number
["y"]: number
}
π Actual behavior
The hover display is "\"x\" "
π Expected behavior
It should be "x"
Additional information about the issue
No response