mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
fix test case
This commit is contained in:
@@ -10,5 +10,5 @@ edit.applyRefactor({
|
||||
actionDescription: "Convert to string concatenation",
|
||||
newContent:
|
||||
`const age = 42
|
||||
const·foo·=·"foobar·is·a·"·+·(age·<·18·?·'child'·:·\`grown-up·\${age·>·40·?·'who·needs·probaply·assistance'·:·''}\`)`,
|
||||
const foo = "foobar is a " + (age < 18 ? 'child' : \`grown-up \${age > 40 ? 'who needs probaply assistance' : ''}\`)`,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user