// @declaration: true // @declarationMap: true // @module: amd // @outFile: bundle.js // @filename: a.ts export class Foo { doThing(x: {a: number}) { return {b: x.a}; } static make() { return new Foo(); } } // @filename: index.ts import {Foo} from "./a"; const c = new Foo(); c.doThing({a: 42}); export let x = c.doThing({a: 12}); export { c, Foo };