TypeScript/tests/baselines/reference/templateStringWithEmbeddedObjectLiteralES6.types

11 lines
502 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedObjectLiteralES6.ts ===
var x = `abc${ { x: 10, y: 20 } }def`;
2015-04-13 23:01:57 +02:00
>x : string, Symbol(x, Decl(templateStringWithEmbeddedObjectLiteralES6.ts, 0, 3))
2015-04-13 21:36:11 +02:00
>`abc${ { x: 10, y: 20 } }def` : string
>{ x: 10, y: 20 } : { x: number; y: number; }
2015-04-13 23:01:57 +02:00
>x : number, Symbol(x, Decl(templateStringWithEmbeddedObjectLiteralES6.ts, 0, 16))
2015-04-13 21:36:11 +02:00
>10 : number
2015-04-13 23:01:57 +02:00
>y : number, Symbol(y, Decl(templateStringWithEmbeddedObjectLiteralES6.ts, 0, 23))
2015-04-13 21:36:11 +02:00
>20 : number