TypeScript/tests/baselines/reference/asiPreventsParsingAsNamespace03.types

20 lines
426 B
Plaintext
Raw Normal View History

2015-06-03 00:47:23 +02:00
=== tests/cases/conformance/internalModules/moduleDeclarations/asiPreventsParsingAsNamespace03.ts ===
var namespace: number;
>namespace : number
var n: string;
>n : string
namespace container {
2015-06-03 21:05:53 +02:00
>container : typeof container
2015-06-03 00:47:23 +02:00
namespace // this is the identifier 'namespace'
2015-06-03 21:05:53 +02:00
>namespace : number
2015-06-03 00:47:23 +02:00
n // this is the identifier 'n'
2015-06-03 21:05:53 +02:00
>n : string
2015-06-03 00:47:23 +02:00
{ } // this is a block body
}