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