26 lines
396 B
Text
26 lines
396 B
Text
=== tests/cases/conformance/internalModules/moduleDeclarations/asiPreventsParsingAsNamespace05.ts ===
|
|
|
|
let namespace = 10;
|
|
>namespace : number
|
|
>10 : number
|
|
|
|
namespace a.b {
|
|
>a : typeof a
|
|
>b : typeof b
|
|
|
|
export let c = 20;
|
|
>c : number
|
|
>20 : number
|
|
}
|
|
|
|
namespace
|
|
>namespace : number
|
|
|
|
a.b.c
|
|
>a.b.c : number
|
|
>a.b : typeof a.b
|
|
>a : typeof a
|
|
>b : typeof a.b
|
|
>c : number
|
|
{
|
|
}
|