TypeScript/tests/cases/compiler/reexportWrittenCorrectlyInDeclaration.ts
Wesley Wigham ceaeffa3ab
Fix declaration emit for imported export alias specifiers (#19852)
* Badness

* Revert #3641, whose original bug has been fixed by other means

* Add another repro
2017-11-08 18:44:46 -08:00

18 lines
416 B
TypeScript

// https://github.com/Microsoft/TypeScript/issues/8612
// @declaration: true
// @filename: ThingA.ts
export class ThingA { }
// @filename: ThingB.ts
export class ThingB { }
// @filename: Things.ts
export {ThingA} from "./ThingA";
export {ThingB} from "./ThingB";
// @filename: Test.ts
import * as things from "./Things";
export class Test {
public method = (input: things.ThingA) => { };
}