14 lines
No EOL
499 B
Text
14 lines
No EOL
499 B
Text
tests/cases/compiler/privacyCheckTypeOfInvisibleModuleError.ts(6,26): error TS4025: Exported variable 'f' has or is using private name 'Inner'.
|
|
|
|
|
|
==== tests/cases/compiler/privacyCheckTypeOfInvisibleModuleError.ts (1 errors) ====
|
|
module Outer {
|
|
module Inner {
|
|
export var m: typeof Inner;
|
|
}
|
|
|
|
export var f: typeof Inner;
|
|
~~~~~
|
|
!!! error TS4025: Exported variable 'f' has or is using private name 'Inner'.
|
|
}
|
|
|