13 lines
227 B
Text
13 lines
227 B
Text
=== tests/cases/compiler/extendNonClassSymbol1.ts ===
|
|
class A { foo() { } }
|
|
>A : A
|
|
>foo : () => void
|
|
|
|
var x = A;
|
|
>x : typeof A
|
|
>A : typeof A
|
|
|
|
class C extends x { } // error, could not find symbol xs
|
|
>C : C
|
|
>x : A
|
|
|