TypeScript/tests/baselines/reference/templateStringWithEmbeddedConditional.types

10 lines
278 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedConditional.ts ===
var x = `abc${ true ? false : " " }def`;
>x : string
2015-04-13 21:36:11 +02:00
>`abc${ true ? false : " " }def` : string
>true ? false : " " : string | boolean
2015-04-13 21:36:11 +02:00
>true : boolean
>false : boolean
>" " : string