9 lines
No EOL
325 B
Text
9 lines
No EOL
325 B
Text
==== tests/cases/compiler/classExtendsClauseClassNotReferringConstructor.ts (1 errors) ====
|
|
class A { a: number; }
|
|
module Foo {
|
|
var A = 1;
|
|
class B extends A { b: string; }
|
|
~
|
|
!!! Type name 'A' in extends clause does not reference constructor function for 'A'.
|
|
}
|
|
|