TypeScript/tests/baselines/reference/asiPreventsParsingAsInterface02.types
2015-06-04 15:09:09 -07:00

16 lines
433 B
Plaintext

=== tests/cases/conformance/interfaces/interfaceDeclarations/asiPreventsParsingAsInterface02.ts ===
function f(interface: number, I: string) {
>f : (interface: number, I: string) => void
>interface : number
>I : string
interface // This should be the identifier 'interface'
>interface : number
I // This should be the identifier 'I'
>I : string
{} // This should be a block body
}