14 lines
No EOL
554 B
Text
14 lines
No EOL
554 B
Text
tests/cases/compiler/privacyCheckTypeOfInvisibleModuleNoError.ts(6,26): error TS4025: Exported variable 'f' has or is using private name 'Inner'.
|
|
|
|
|
|
==== 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
|
|
~~~~~
|
|
!!! error TS4025: Exported variable 'f' has or is using private name 'Inner'.
|
|
}
|
|
|