TypeScript/tests/baselines/reference/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.errors.txt

12 lines
484 B
Plaintext
Raw Normal View History

2015-06-17 22:29:08 +02:00
tests/cases/compiler/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.ts(5,20): error TS2507: Type 'number' is not a constructor function type.
2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.ts (1 errors) ====
module Alpha {
export var x = 100;
}
class Beta extends Alpha.x {
2015-06-15 19:44:21 +02:00
~~~~~~~
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
}