Files
tsgo/testdata/baselines/reference/submodule/conformance/asiPreventsParsingAsNamespace01.js

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