mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
683 B
TypeScript
18 lines
683 B
TypeScript
//// [tests/cases/conformance/interfaces/interfaceDeclarations/asiPreventsParsingAsInterface04.ts] ////
|
|
|
|
//// [asiPreventsParsingAsInterface04.ts]
|
|
var declare: boolean, interface: number, I: string;
|
|
|
|
declare // This should be the identifier 'declare'
|
|
interface // This should be the identifier 'interface'
|
|
I // This should be the identifier 'I'
|
|
{} // This should be a block body
|
|
|
|
//// [asiPreventsParsingAsInterface04.js]
|
|
"use strict";
|
|
var declare, interface, I;
|
|
declare; // This should be the identifier 'declare'
|
|
interface; // This should be the identifier 'interface'
|
|
I; // This should be the identifier 'I'
|
|
{ } // This should be a block body
|