TypeScript/tests/baselines/reference/templateStringWithEmbeddedNewOperatorES6.types

9 lines
260 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedNewOperatorES6.ts ===
var x = `abc${ new String("Hi") }def`;
>x : string
2015-04-13 21:36:11 +02:00
>`abc${ new String("Hi") }def` : string
>new String("Hi") : String
>String : StringConstructor
2015-04-13 21:36:11 +02:00
>"Hi" : string