* Revert changes for template literal types, keeping tests. * Update Baselines and/or Applied Lint Fixes Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
13 lines
334 B
Plaintext
13 lines
334 B
Plaintext
=== tests/cases/conformance/es6/templates/templateStringInInOperatorES6.ts ===
|
|
var x = `${ "hi" }` in { hi: 10, hello: 20};
|
|
>x : boolean
|
|
>`${ "hi" }` in { hi: 10, hello: 20} : boolean
|
|
>`${ "hi" }` : string
|
|
>"hi" : "hi"
|
|
>{ hi: 10, hello: 20} : { hi: number; hello: number; }
|
|
>hi : number
|
|
>10 : 10
|
|
>hello : number
|
|
>20 : 20
|
|
|