mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
520 B
TypeScript
18 lines
520 B
TypeScript
//// [tests/cases/conformance/internalModules/moduleDeclarations/asiPreventsParsingAsNamespace01.ts] ////
|
|
|
|
//// [asiPreventsParsingAsNamespace01.ts]
|
|
var namespace: number;
|
|
var n: string;
|
|
|
|
namespace // this is the identifier 'namespace'
|
|
n // this is the identifier 'n'
|
|
{ } // this is a block body
|
|
|
|
//// [asiPreventsParsingAsNamespace01.js]
|
|
"use strict";
|
|
var namespace;
|
|
var n;
|
|
namespace; // this is the identifier 'namespace'
|
|
n; // this is the identifier 'n'
|
|
{ } // this is a block body
|