TypeScript/tests/baselines/reference/templateStringWithEmbeddedObjectLiteralES6.types

11 lines
290 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedObjectLiteralES6.ts ===
var x = `abc${ { x: 10, y: 20 } }def`;
>x : string
2015-04-13 21:36:11 +02:00
>`abc${ { x: 10, y: 20 } }def` : string
>{ x: 10, y: 20 } : { x: number; y: number; }
>x : number
2015-04-13 21:36:11 +02:00
>10 : number
>y : number
2015-04-13 21:36:11 +02:00
>20 : number