TypeScript/tests/baselines/reference/asiPreventsParsingAsInterface02.js

12 lines
327 B
TypeScript
Raw Normal View History

2015-06-04 23:03:00 +02:00
//// [asiPreventsParsingAsInterface02.ts]
function f(interface: number, I: string) {
interface // This should be the identifier 'interface'
I // This should be the identifier 'I'
{} // This should be a block body
}
//// [asiPreventsParsingAsInterface02.js]
function f(interface, I) {
}