TypeScript/tests/baselines/reference/asiPreventsParsingAsInterface01.js
2015-06-04 15:09:09 -07:00

14 lines
427 B
TypeScript

//// [asiPreventsParsingAsInterface01.ts]
var interface: number, I: string;
interface // This should be the identifier 'interface'
I // This should be the identifier 'I'
{} // This should be a block body
//// [asiPreventsParsingAsInterface01.js]
var interface, I;
interface; // This should be the identifier 'interface'
I; // This should be the identifier 'I'
{ } // This should be a block body