TypeScript/tests/baselines/reference/templateStringWithEmbeddedObjectLiteralES6.types
Daniel Rosenwasser cce4bfbc7c
Revert changes for template literal types, keeping tests. (#42588)
* Revert changes for template literal types, keeping tests.

* Update Baselines and/or Applied Lint Fixes

Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com>
2021-02-03 14:49:03 -08:00

11 lines
282 B
Plaintext

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedObjectLiteralES6.ts ===
var x = `abc${ { x: 10, y: 20 } }def`;
>x : string
>`abc${ { x: 10, y: 20 } }def` : string
>{ x: 10, y: 20 } : { x: number; y: number; }
>x : number
>10 : 10
>y : number
>20 : 20