6 lines
221 B
Plaintext
6 lines
221 B
Plaintext
|
==== tests/cases/compiler/extendNonClassSymbol1.ts (1 errors) ====
|
||
|
class A { foo() { } }
|
||
|
var x = A;
|
||
|
class C extends x { } // error, could not find symbol xs
|
||
|
~
|
||
|
!!! Cannot find name 'x'.
|