19 lines
492 B
Plaintext
19 lines
492 B
Plaintext
tests/cases/compiler/moduleNewExportBug.ts(10,9): error TS2305: Module 'mod1' has no exported member 'C'.
|
|
|
|
|
|
==== 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
|
|
~~~~~~
|
|
!!! error TS2305: Module 'mod1' has no exported member 'C'.
|
|
|
|
|
|
|