TypeScript/tests/baselines/reference/templateStringWithEmbeddedConditional.types

9 lines
340 B
Text

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedConditional.ts ===
var x = `abc${ true ? false : " " }def`;
>x : string, Symbol(x,Decl(templateStringWithEmbeddedConditional.ts,0,3))
>`abc${ true ? false : " " }def` : string
>true ? false : " " : string | boolean
>true : boolean
>false : boolean
>" " : string