Skip to content

Commit 339a3d7

Browse files
committed
Add regression test from typescript-go #2376
1 parent e310261 commit 339a3d7

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// @strict: true
2+
// @noEmit: true
3+
4+
class Base {
5+
}
6+
7+
declare const BaseFactory: new() => Base & { c: string }
8+
9+
class Derived extends BaseFactory {
10+
a = this.b
11+
b = "abc"
12+
}

0 commit comments

Comments
 (0)