Skip to content

Commit 486f156

Browse files
Added test.
1 parent 0e879c0 commit 486f156

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
class A {
2+
constructor(public text: string) { }
3+
}
4+
5+
class B extends A {
6+
constructor(text: string) {
7+
// this is subclass constructor
8+
super(text)
9+
}
10+
}

0 commit comments

Comments
 (0)