mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
23 lines
466 B
TypeScript
23 lines
466 B
TypeScript
//// [tests/cases/compiler/duplicatePackage_packageIdIncludesSubModule.ts] ////
|
|
|
|
//// [Foo.d.ts]
|
|
export default class Foo {
|
|
protected source: boolean;
|
|
}
|
|
|
|
//// [Bar.d.ts]
|
|
// This is *not* the same!
|
|
export const x: number;
|
|
|
|
//// [package.json]
|
|
{ "name": "foo", "version": "1.2.3" }
|
|
|
|
//// [index.ts]
|
|
import Foo from "foo/Foo";
|
|
import { x } from "foo/Bar";
|
|
|
|
|
|
//// [index.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|