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

19 lines
576 B
Plaintext
Raw Normal View History

2015-06-17 22:29:08 +02:00
tests/cases/compiler/classExtendsClauseClassMergedWithModuleNotReferingConstructor.ts(10,21): error TS2507: Type 'number' is not a constructor function type.
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 {
~
2015-06-17 22:29:08 +02:00
!!! error TS2507: Type 'number' is not a constructor function type.
2014-07-13 01:04:16 +02:00
b: string;
}
}