17 lines
467 B
Plaintext
17 lines
467 B
Plaintext
|
==== 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;
|
||
|
~
|
||
|
!!! Property 'b' does not exist on type 'typeof c'.
|