TypeScript/tests/baselines/reference/asiPreventsParsingAsNamespace03.types
2015-06-03 12:05:53 -07:00

20 lines
426 B
Plaintext

=== tests/cases/conformance/internalModules/moduleDeclarations/asiPreventsParsingAsNamespace03.ts ===
var namespace: number;
>namespace : number
var n: string;
>n : string
namespace container {
>container : typeof container
namespace // this is the identifier 'namespace'
>namespace : number
n // this is the identifier 'n'
>n : string
{ } // this is a block body
}