2015-02-11 02:09:29 +01:00
|
|
|
// @module: commonjs
|
|
|
|
// @declaration: true
|
|
|
|
|
|
|
|
// @filename: server.ts
|
|
|
|
export interface I {
|
|
|
|
prop: string;
|
|
|
|
}
|
|
|
|
export interface I2 {
|
|
|
|
prop2: string;
|
|
|
|
}
|
|
|
|
export class C implements I {
|
|
|
|
prop = "hello";
|
|
|
|
}
|
|
|
|
export class C2 implements I2 {
|
|
|
|
prop2 = "world";
|
|
|
|
}
|
|
|
|
|
|
|
|
// @filename: client.ts
|
2015-09-15 20:43:28 +02:00
|
|
|
import { C, I, C2 } from "./server"; // Shouldnt emit I and C2 into the js file and emit C and I in .d.ts file
|
2015-02-11 02:09:29 +01:00
|
|
|
export type cValInterface = I;
|
|
|
|
export var cVal = new C();
|