23 lines
735 B
Plaintext
23 lines
735 B
Plaintext
tests/cases/compiler/internalAliasClassInsideLocalModuleWithoutExportAccessError.ts(17,26): error TS2339: Property 'c' does not exist on type 'typeof m3'.
|
|
|
|
|
|
==== tests/cases/compiler/internalAliasClassInsideLocalModuleWithoutExportAccessError.ts (1 errors) ====
|
|
export module x {
|
|
export class c {
|
|
foo(a: number) {
|
|
return a;
|
|
}
|
|
}
|
|
}
|
|
|
|
export module m2 {
|
|
export module m3 {
|
|
import c = x.c;
|
|
export var cProp = new c();
|
|
var cReturnVal = cProp.foo(10);
|
|
}
|
|
}
|
|
|
|
export var d = new m2.m3.c();
|
|
~
|
|
!!! error TS2339: Property 'c' does not exist on type 'typeof m3'. |