TypeScript/tests/baselines/reference/templateStringWithEmbeddedObjectLiteralES6.types
2015-04-13 14:29:37 -07:00

11 lines
502 B
Plaintext

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedObjectLiteralES6.ts ===
var x = `abc${ { x: 10, y: 20 } }def`;
>x : string, Symbol(x, Decl(templateStringWithEmbeddedObjectLiteralES6.ts, 0, 3))
>`abc${ { x: 10, y: 20 } }def` : string
>{ x: 10, y: 20 } : { x: number; y: number; }
>x : number, Symbol(x, Decl(templateStringWithEmbeddedObjectLiteralES6.ts, 0, 16))
>10 : number
>y : number, Symbol(y, Decl(templateStringWithEmbeddedObjectLiteralES6.ts, 0, 23))
>20 : number