Files
tsgo/testdata/baselines/reference/submodule/compiler/classExtendsNull.js

30 lines
524 B
TypeScript

//// [tests/cases/compiler/classExtendsNull.ts] ////
//// [classExtendsNull.ts]
class C extends null {
constructor() {
super();
return Object.create(null);
}
}
class D extends null {
constructor() {
return Object.create(null);
}
}
//// [classExtendsNull.js]
"use strict";
class C extends null {
constructor() {
super();
return Object.create(null);
}
}
class D extends null {
constructor() {
return Object.create(null);
}
}