TypeScript/tests/baselines/reference/templateStringWithEmbeddedInOperatorES6.types
2014-10-23 15:06:05 -07:00

9 lines
285 B
Plaintext

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedInOperatorES6.ts ===
var x = `abc${ "hi" in { hi: 10, hello: 20} }def`;
>x : string
>"hi" in { hi: 10, hello: 20} : boolean
>{ hi: 10, hello: 20} : { hi: number; hello: number; }
>hi : number
>hello : number