TypeScript/tests/baselines/reference/templateStringWithEmbeddedNewOperator.types
2014-10-23 15:06:05 -07:00

6 lines
297 B
Text

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedNewOperator.ts ===
var x = `abc${ new String("Hi") }def`;
>x : string
>new String("Hi") : String
>String : { (value?: any): string; new (value?: any): String; prototype: String; fromCharCode(...codes: number[]): string; }