TypeScript/tests/baselines/reference/classExtendsClauseClassMergedWithModuleNotReferingConstructor.errors.txt

16 lines
430 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/classExtendsClauseClassMergedWithModuleNotReferingConstructor.ts (1 errors) ====
class A {
a: number;
}
module A {
export var v: string;
}
module Foo {
var A = 1;
class B extends A {
~
!!! Type name 'A' in extends clause does not reference constructor function for 'A'.
b: string;
}
}