20 lines
No EOL
639 B
Text
20 lines
No EOL
639 B
Text
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'. |