Files
tsgo/testdata/baselines/reference/submodule/compiler/classExtendsNull3.errors.txt

20 lines
486 B
Plaintext

classExtendsNull3.ts(3,5): error TS2531: Object is possibly 'null'.
classExtendsNull3.ts(9,5): error TS2531: Object is possibly 'null'.
==== classExtendsNull3.ts (2 errors) ====
class C1 extends null {
static method() {
super.oops;
~~~~~
!!! error TS2531: Object is possibly 'null'.
}
}
class C2 extends null {
method() {
super.oops;
~~~~~
!!! error TS2531: Object is possibly 'null'.
}
}