2014-10-23 00:48:22 +02:00
|
|
|
=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedInOperator.ts ===
|
|
|
|
var x = `abc${ "hi" in { hi: 10, hello: 20} }def`;
|
2015-04-13 23:01:57 +02:00
|
|
|
>x : string, Symbol(x, Decl(templateStringWithEmbeddedInOperator.ts, 0, 3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>`abc${ "hi" in { hi: 10, hello: 20} }def` : string
|
2014-10-23 00:48:22 +02:00
|
|
|
>"hi" in { hi: 10, hello: 20} : boolean
|
2015-04-13 21:36:11 +02:00
|
|
|
>"hi" : string
|
2014-10-23 00:48:22 +02:00
|
|
|
>{ hi: 10, hello: 20} : { hi: number; hello: number; }
|
2015-04-13 23:01:57 +02:00
|
|
|
>hi : number, Symbol(hi, Decl(templateStringWithEmbeddedInOperator.ts, 0, 24))
|
2015-04-13 21:36:11 +02:00
|
|
|
>10 : number
|
2015-04-13 23:01:57 +02:00
|
|
|
>hello : number, Symbol(hello, Decl(templateStringWithEmbeddedInOperator.ts, 0, 32))
|
2015-04-13 21:36:11 +02:00
|
|
|
>20 : number
|
2014-10-23 00:48:22 +02:00
|
|
|
|