2016-05-05 22:38:09 +02:00
|
|
|
// @module: commonjs
|
|
|
|
// @noImplicitReferences: true
|
|
|
|
// @traceResolution: true
|
|
|
|
|
|
|
|
// @filename: /src/library-a/index.ts
|
|
|
|
// @symlink: /src/library-b/node_modules/library-a/index.ts
|
2016-10-31 16:23:02 +01:00
|
|
|
export class MyClass { private x: number; }
|
2016-05-05 22:38:09 +02:00
|
|
|
|
|
|
|
// @filename: /src/library-b/index.ts
|
|
|
|
import {MyClass} from "library-a";
|
|
|
|
export { MyClass as MyClass2 }
|
|
|
|
|
|
|
|
// @filename: /src/app.ts
|
|
|
|
import { MyClass } from "./library-a";
|
|
|
|
import { MyClass2 } from "./library-b";
|
|
|
|
|
|
|
|
let x: MyClass;
|
|
|
|
let y: MyClass2;
|
|
|
|
x = y;
|
|
|
|
y = x;
|