12 lines
379 B
Text
12 lines
379 B
Text
=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedInOperator.ts ===
|
|
var x = `abc${ "hi" in { hi: 10, hello: 20} }def`;
|
|
>x : string
|
|
>`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
|
|
>10 : number
|
|
>hello : number
|
|
>20 : number
|
|
|