swc/crates/swc_ecma_parser/tests/tsc/asiPreventsParsingAsAmbientExternalModule01.ts

8 lines
254 B
TypeScript
Raw Normal View History

var declare: number;
var module: string;
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