b9017795a0
This reverts commit ccc60c8b3b
.
14 lines
No EOL
257 B
TypeScript
14 lines
No EOL
257 B
TypeScript
// @module: esnext
|
|
// @target: esnext
|
|
// @filename: 0.ts
|
|
export class B {
|
|
print() { return "I am B"}
|
|
}
|
|
|
|
// @filename: 2.ts
|
|
async function foo() {
|
|
class C extends (await import("./0")).B {}
|
|
var c = new C();
|
|
c.print();
|
|
}
|
|
foo(); |