2015-03-02 21:21:53 +01:00
|
|
|
tests/cases/compiler/moduleNewExportBug.ts(10,14): error TS2305: Module 'mod1' has no exported member 'C'.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
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
|
2015-03-02 21:21:53 +01:00
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS2305: Module 'mod1' has no exported member 'C'.
|
2014-07-13 01:04:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
|