TypeScript/tests/baselines/reference/classExtendsClauseClassMergedWithModuleNotReferingConstructor.errors.txt
2015-06-17 13:29:08 -07:00

19 lines
576 B
Plaintext

tests/cases/compiler/classExtendsClauseClassMergedWithModuleNotReferingConstructor.ts(10,21): error TS2507: Type 'number' is not a constructor function type.
==== 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 {
~
!!! error TS2507: Type 'number' is not a constructor function type.
b: string;
}
}