12 lines
513 B
Text
12 lines
513 B
Text
=== 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
|
|
|