* Infer template literal types for template literal expressions * Update test * Update another test * Accept new baselines * Minor fixes * Add tests * Accept new baselines * Make new TypeFlags internal * Accept new API baselines * Ensure template literals assignable to String, Object, {}, etc. * Add tests
9 lines
212 B
Plaintext
9 lines
212 B
Plaintext
=== tests/cases/conformance/es6/templates/templateStringWithEmbeddedMultiplicationES6.ts ===
|
|
var x = `abc${ 7 * 6 }def`;
|
|
>x : string
|
|
>`abc${ 7 * 6 }def` : `abc${number}def`
|
|
>7 * 6 : number
|
|
>7 : 7
|
|
>6 : 6
|
|
|