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

8 lines
216 B
Plaintext

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedTypeAssertionOnAddition.ts ===
var x = `abc${ <any>(10 + 10) }def`;
>x : string
><any>(10 + 10) : any
>(10 + 10) : number
>10 + 10 : number