9 lines
111 B
TypeScript
9 lines
111 B
TypeScript
|
class C<T> {
|
||
|
foo: T;
|
||
|
}
|
||
|
|
||
|
class D<T> extends C<T> {
|
||
|
constructor(x) {
|
||
|
super<T>(x);
|
||
|
}
|
||
|
}
|