10 lines
184 B
TypeScript
10 lines
184 B
TypeScript
|
class Based { }
|
|||
|
class Derived extends Based {
|
|||
|
public x: number;
|
|||
|
constructor() {
|
|||
|
super();
|
|||
|
this;
|
|||
|
this.x = 10;
|
|||
|
var that = this;
|
|||
|
}
|
|||
|
}
|