TypeScript/tests/cases/conformance/externalModules/asiPreventsParsingAsAmbientExternalModule02.ts
Daniel Rosenwasser e93b7a75ce Added tests.
2015-06-02 15:42:24 -07:00

10 lines
300 B
TypeScript

var declare: number;
var module: string;
module container {
declare // this is the identifier 'declare'
module // this is the identifier 'module'
"my external module" // this is just a string
{ } // this is a block body
}