12 lines
569 B
Text
12 lines
569 B
Text
=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedInOperator.ts ===
|
|
var x = `abc${ "hi" in { hi: 10, hello: 20} }def`;
|
|
>x : string, Symbol(x,Decl(templateStringWithEmbeddedInOperator.ts,0,3))
|
|
>`abc${ "hi" in { hi: 10, hello: 20} }def` : string
|
|
>"hi" in { hi: 10, hello: 20} : boolean
|
|
>"hi" : string
|
|
>{ hi: 10, hello: 20} : { hi: number; hello: number; }
|
|
>hi : number, Symbol(hi,Decl(templateStringWithEmbeddedInOperator.ts,0,24))
|
|
>10 : number
|
|
>hello : number, Symbol(hello,Decl(templateStringWithEmbeddedInOperator.ts,0,32))
|
|
>20 : number
|
|
|