23 lines
354 B
TypeScript
23 lines
354 B
TypeScript
//// [emitClassDeclarationWithSuperMethodCall01.ts]
|
|
|
|
class Parent {
|
|
foo() {
|
|
}
|
|
}
|
|
|
|
class Foo extends Parent {
|
|
foo() {
|
|
var x = () => super.foo();
|
|
}
|
|
}
|
|
|
|
//// [emitClassDeclarationWithSuperMethodCall01.js]
|
|
class Parent {
|
|
foo() {
|
|
}
|
|
}
|
|
class Foo extends Parent {
|
|
foo() {
|
|
var x = () => super.foo();
|
|
}
|
|
}
|