9 lines
278 B
Text
9 lines
278 B
Text
=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedConditional.ts ===
|
|
var x = `abc${ true ? false : " " }def`;
|
|
>x : string
|
|
>`abc${ true ? false : " " }def` : string
|
|
>true ? false : " " : string | boolean
|
|
>true : boolean
|
|
>false : boolean
|
|
>" " : string
|
|
|