TypeScript/tests/baselines/reference/templateStringWithEmbeddedTypeAssertionOnAdditionES6.types

11 lines
366 B
Plaintext
Raw Normal View History

=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedTypeAssertionOnAdditionES6.ts ===
var x = `abc${ <any>(10 + 10) }def`;
2015-04-13 23:01:57 +02:00
>x : string, Symbol(x, Decl(templateStringWithEmbeddedTypeAssertionOnAdditionES6.ts, 0, 3))
2015-04-13 21:36:11 +02:00
>`abc${ <any>(10 + 10) }def` : string
><any>(10 + 10) : any
>(10 + 10) : number
>10 + 10 : number
2015-04-13 21:36:11 +02:00
>10 : number
>10 : number