14 lines
499 B
Plaintext
14 lines
499 B
Plaintext
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'.
|
|
}
|
|
|