TypeScript/tests/baselines/reference/asiPreventsParsingAsAmbientExternalModule02.types

23 lines
545 B
Plaintext
Raw Normal View History

2015-06-03 21:05:53 +02:00
=== tests/cases/conformance/externalModules/asiPreventsParsingAsAmbientExternalModule02.ts ===
var declare: number;
>declare : number
var module: string;
>module : string
module container {
>container : typeof container
declare // this is the identifier 'declare'
>declare : number
module // this is the identifier 'module'
>module : string
"my external module" // this is just a string
>"my external module" : string
{ } // this is a block body
}