TypeScript/tests/baselines/reference/asiPreventsParsingAsAmbientExternalModule02.js

16 lines
432 B
TypeScript
Raw Normal View History

2015-06-03 00:47:23 +02:00
//// [asiPreventsParsingAsAmbientExternalModule02.ts]
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
}
//// [asiPreventsParsingAsAmbientExternalModule02.js]
var declare;
var module;