* Have getNameOfSymbolAsWritten quote nonidentifier nonnumeric symbols all the time * Revert checker changes * Reuse synthetic origin to indicate that derived declaration name may need to be quoted
4 lines
97 B
TypeScript
4 lines
97 B
TypeScript
// @declaration: true
|
|
var x = [{ "a-b": "string" }, {}];
|
|
|
|
var y = [{ ["a-b"]: "string" }, {}]; |