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

16 lines
367 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== tests/cases/compiler/moduleNewExportBug.ts (1 errors) ====
module mod1 {
interface mInt {
new (bar:any):any;
foo (bar:any):any;
}
class C { public moo() {}}
}
var c : mod1.C; // ERROR: C should not be visible
~~~~~~
!!! Module 'mod1' has no exported member 'C'.