mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
17 lines
594 B
TypeScript
17 lines
594 B
TypeScript
//// [tests/cases/conformance/interfaces/interfaceDeclarations/asiPreventsParsingAsInterface02.ts] ////
|
|
|
|
//// [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]
|
|
"use strict";
|
|
function f(interface, I) {
|
|
interface; // This should be the identifier 'interface'
|
|
I; // This should be the identifier 'I'
|
|
{ } // This should be a block body
|
|
}
|