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

28 lines
766 B
TypeScript

//// [tests/cases/conformance/ambient/ambientModuleDeclarationWithReservedIdentifierInDottedPath2.ts] ////
//// [ambientModuleDeclarationWithReservedIdentifierInDottedPath2.ts]
declare namespace chrome.debugger {
declare var tabId: number;
}
export const tabId = chrome.debugger.tabId;
declare namespace test.class {}
declare namespace debugger {} // still an error
//// [ambientModuleDeclarationWithReservedIdentifierInDottedPath2.js]
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.tabId = void 0;
exports.tabId = chrome.debugger.tabId;
declare;
namespace;
debugger;
{ } // still an error
//// [ambientModuleDeclarationWithReservedIdentifierInDottedPath2.d.ts]
export declare const tabId: number;