TypeScript/tests/baselines/reference/taggedTemplateStringsWithManyCallAndMemberExpressions.errors.txt
Cyrus Najmabadi b2112f863a Move module name checks to the grammar checker.
Make some errors shorter.
2014-11-19 16:47:43 -08:00

21 lines
793 B
Plaintext

tests/cases/conformance/es6/templates/taggedTemplateStringsWithManyCallAndMemberExpressions.ts(13,23): error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher.
==== tests/cases/conformance/es6/templates/taggedTemplateStringsWithManyCallAndMemberExpressions.ts (1 errors) ====
interface I {
(strs: string[], ...subs: number[]): I;
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;
~~~~~~
!!! error TS1159: Tagged templates are only available when targeting ECMAScript 6 and higher.