TypeScript/tests/baselines/reference/asiPreventsParsingAsInterface03.js

19 lines
512 B
TypeScript
Raw Normal View History

2015-06-04 23:03:00 +02:00
//// [asiPreventsParsingAsInterface03.ts]
var interface: number, I: string;
namespace n {
interface // This should be the identifier 'interface'
I // This should be the identifier 'I'
{} // This should be a block body
}
//// [asiPreventsParsingAsInterface03.js]
var interface, I;
2015-06-04 23:37:40 +02:00
var n;
(function (n) {
interface; // This should be the identifier 'interface'
I; // This should be the identifier 'I'
{ } // This should be a block body
})(n || (n = {}));