mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-24 20:44:53 -05:00
Add regression test
This commit is contained in:
@@ -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();
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user