20 lines
639 B
Plaintext
20 lines
639 B
Plaintext
tests/cases/compiler/internalAliasEnumInsideLocalModuleWithoutExportAccessError.ts(14,21): error TS2339: Property 'b' does not exist on type 'typeof c'.
|
|
|
|
|
|
==== tests/cases/compiler/internalAliasEnumInsideLocalModuleWithoutExportAccessError.ts (1 errors) ====
|
|
export module a {
|
|
export enum weekend {
|
|
Friday,
|
|
Saturday,
|
|
Sunday
|
|
}
|
|
}
|
|
|
|
export module c {
|
|
import b = a.weekend;
|
|
export var bVal: b = b.Sunday;
|
|
}
|
|
|
|
var happyFriday = c.b.Friday;
|
|
~
|
|
!!! error TS2339: Property 'b' does not exist on type 'typeof c'. |