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

23 lines
545 B
Plaintext

=== 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
}