TypeScript/tests/baselines/reference/templateStringInPropertyAssignment.js
Daniel Rosenwasser 0d1a46d68c Better test coverage for templates in object literals.
These tests still need to be fixed.
2014-10-23 16:55:35 -07:00

10 lines
199 B
JavaScript

//// [templateStringInPropertyAssignment.ts]
var x = {
a: `abc${ 123 }def${ 456 }ghi`
}
//// [templateStringInPropertyAssignment.js]
var x = {
a: "abc" + 123 + "def" + 456 + "ghi"
};