//// [tests/cases/compiler/duplicatePackage_relativeImportWithinPackage.ts] ////

//// [package.json]
{
    "name": "foo",
    "version": "1.2.3"
}

//// [index.d.ts]
export class C {
    private x: number;
}

//// [index.d.ts]
import { C } from "foo";
export const o: C;

//// [use.d.ts]
import { C } from "./index";
export function use(o: C): void;

//// [index.d.ts]
export class C {
    private x: number;
}

//// [package.json]
{
    "name": "foo",
    "version": "1.2.3"
}

//// [index.ts]
import { use } from "foo/use";
import { o } from "a";

use(o);


//// [index.js]
"use strict";
exports.__esModule = true;
var use_1 = require("foo/use");
var a_1 = require("a");
(0, use_1.use)(a_1.o);
