20 lines
No EOL
277 B
TypeScript
20 lines
No EOL
277 B
TypeScript
class C {
|
|
foo() {}
|
|
bar() {}
|
|
}
|
|
|
|
class Base {
|
|
x: string;
|
|
}
|
|
|
|
class Derived extends Base {
|
|
constructor() {
|
|
with(new C()) {
|
|
foo();
|
|
super();
|
|
bar();
|
|
}
|
|
|
|
try {} catch(e) { super(); }
|
|
}
|
|
} |