mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
bef45822f5
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
20 lines
253 B
TypeScript
20 lines
253 B
TypeScript
// @target: es2015
|
|
// @noTypesAndSymbols: true
|
|
|
|
class B {
|
|
m() {
|
|
return 1;
|
|
}
|
|
}
|
|
|
|
class C extends B {
|
|
f() {
|
|
const g = async (b = super.m()) => b;
|
|
return g();
|
|
}
|
|
|
|
async h(b = super.m()) {
|
|
return b;
|
|
}
|
|
}
|