15 lines
676 B
Text
15 lines
676 B
Text
=== tests/cases/conformance/interfaces/interfaceDeclarations/asiPreventsParsingAsInterface02.ts ===
|
|
|
|
function f(interface: number, I: string) {
|
|
>f : Symbol(f, Decl(asiPreventsParsingAsInterface02.ts, 0, 0))
|
|
>interface : Symbol(interface, Decl(asiPreventsParsingAsInterface02.ts, 1, 11))
|
|
>I : Symbol(I, Decl(asiPreventsParsingAsInterface02.ts, 1, 29))
|
|
|
|
interface // This should be the identifier 'interface'
|
|
>interface : Symbol(interface, Decl(asiPreventsParsingAsInterface02.ts, 1, 11))
|
|
|
|
I // This should be the identifier 'I'
|
|
>I : Symbol(I, Decl(asiPreventsParsingAsInterface02.ts, 1, 29))
|
|
|
|
{} // This should be a block body
|
|
}
|