2014-08-07 23:47:49 +02:00
|
|
|
==== tests/cases/compiler/privacyCheckTypeOfInvisibleModuleError.ts (1 errors) ====
|
|
|
|
module Outer {
|
|
|
|
module Inner {
|
|
|
|
export var m: typeof Inner;
|
|
|
|
}
|
|
|
|
|
|
|
|
export var f: typeof Inner;
|
|
|
|
~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS4025: Exported variable 'f' has or is using private name 'Inner'.
|
2014-08-07 23:47:49 +02:00
|
|
|
}
|
|
|
|
|