We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e310261 commit 339a3d7Copy full SHA for 339a3d7
1 file changed
tests/cases/compiler/checkInheritedProperty.ts
@@ -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