TypeScript/tests/baselines/reference/templateStringInInOperatorES6.types

13 lines
522 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/templates/templateStringInInOperatorES6.ts ===
var x = `${ "hi" }` in { hi: 10, hello: 20};
2015-04-13 23:01:57 +02:00
>x : boolean, Symbol(x, Decl(templateStringInInOperatorES6.ts, 0, 3))
>`${ "hi" }` in { hi: 10, hello: 20} : boolean
2015-04-13 21:36:11 +02:00
>`${ "hi" }` : string
>"hi" : string
>{ hi: 10, hello: 20} : { hi: number; hello: number; }
2015-04-13 23:01:57 +02:00
>hi : number, Symbol(hi, Decl(templateStringInInOperatorES6.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(templateStringInInOperatorES6.ts, 0, 32))
2015-04-13 21:36:11 +02:00
>20 : number