2014-11-11 00:56:18 +01:00
|
|
|
tests/cases/compiler/privacyCheckTypeOfInvisibleModuleNoError.ts(6,26): error TS4025: Exported variable 'f' has or is using private name 'Inner'.
|
2014-09-12 22:35:07 +02:00
|
|
|
|
|
|
|
|
2014-08-06 22:12:34 +02:00
|
|
|
==== tests/cases/compiler/privacyCheckTypeOfInvisibleModuleNoError.ts (1 errors) ====
|
|
|
|
module Outer {
|
|
|
|
module Inner {
|
|
|
|
export var m: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
export var f: typeof Inner; // Since we dont unwind inner any more, it is error here
|
2014-11-11 00:56:18 +01:00
|
|
|
~~~~~
|
2014-09-12 00:19:57 +02:00
|
|
|
!!! error TS4025: Exported variable 'f' has or is using private name 'Inner'.
|
2014-08-06 22:12:34 +02:00
|
|
|
}
|
|
|
|
|