TypeScript/tests/baselines/reference/templateStringWithEmbeddedInOperator.types

13 lines
379 B
Plaintext
Raw Normal View History

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