// @module: commonjs
// @target: es2015
// @declaration: true

// https://github.com/microsoft/TypeScript/issues/7840

declare namespace chrome.debugger {
    declare var tabId: number;
}

export const tabId = chrome.debugger.tabId;

declare namespace test.class {}

declare namespace debugger {} // still an error
