Add regression test

This commit is contained in:
Anders Hejlsberg
2017-02-01 11:37:24 -08:00
parent b6d612980c
commit a8de5ce836

View File

@@ -54,3 +54,11 @@ class Thing3 extends Thing2 {
this.print();
}
}
// Repro from #13805
const Timestamped = <CT extends Constructor<object>>(Base: CT) => {
return class extends Base {
timestamp = new Date();
};
}