2014-10-24 02:31:12 +02:00
|
|
|
//// [taggedTemplateStringsWithManyCallAndMemberExpressionsES6.ts]
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//// [taggedTemplateStringsWithManyCallAndMemberExpressionsES6.js]
|
|
|
|
var f;
|
|
|
|
var x = new new new f `abc${0}def`.member("hello")(42) === true;
|