TypeScript/tests/baselines/reference/templateStringInTypeOfES6.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

8 lines
370 B
Plaintext

=== tests/cases/conformance/es6/templates/templateStringInTypeOfES6.ts ===
var x = typeof `abc${ 123 }def`;
>x : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"
>typeof `abc${ 123 }def` : "string" | "number" | "bigint" | "boolean" | "symbol" | "undefined" | "object" | "function"
>`abc${ 123 }def` : string
>123 : 123