TypeScript/tests/baselines/reference/templateStringInInOperator.types

13 lines
341 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/templates/templateStringInInOperator.ts ===
var x = `${ "hi" }` in { hi: 10, hello: 20};
>x : boolean
>`${ "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; }
>hi : number
2015-04-13 21:36:11 +02:00
>10 : number
>hello : number
2015-04-13 21:36:11 +02:00
>20 : number