TypeScript/tests/baselines/reference/templateStringInInOperatorES6.types
2015-04-13 14:29:37 -07:00

13 lines
522 B
Plaintext

=== tests/cases/conformance/es6/templates/templateStringInInOperatorES6.ts ===
var x = `${ "hi" }` in { hi: 10, hello: 20};
>x : boolean, Symbol(x, Decl(templateStringInInOperatorES6.ts, 0, 3))
>`${ "hi" }` in { hi: 10, hello: 20} : boolean
>`${ "hi" }` : string
>"hi" : string
>{ hi: 10, hello: 20} : { hi: number; hello: number; }
>hi : number, Symbol(hi, Decl(templateStringInInOperatorES6.ts, 0, 24))
>10 : number
>hello : number, Symbol(hello, Decl(templateStringInInOperatorES6.ts, 0, 32))
>20 : number