2014-11-20 01:47:43 +01:00
tests/cases/conformance/es6/templates/taggedTemplateStringsWithManyCallAndMemberExpressions.ts(13,23): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher.
2014-10-24 02:31:12 +02:00
==== tests/cases/conformance/es6/templates/taggedTemplateStringsWithManyCallAndMemberExpressions.ts (1 errors) ====
interface I {
2014-11-05 00:05:05 +01:00
(strs: string[], ...subs: number[]): I;
2014-10-24 02:31:12 +02:00
member: {
new (s: string): {
new (n: number): {
new (): boolean;
}
}
};
}
var f: I;
var x = new new new f `abc${ 0 }def`.member("hello")(42) === true;
2014-11-20 01:47:43 +01:00
~~~~~~
2014-11-01 23:30:07 +01:00
!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher.
2014-10-24 02:31:12 +02:00