TypeScript/tests/baselines/reference/exportDefaultImportedType.js
Andrew Branch 035c7ca905
Elide export assignment when it does not resolve to a value (#41904)
* Only mark aliases that resolve to values referenced

* Update other affected baselines

* Remove redundant check
2020-12-10 10:17:28 -08:00

16 lines
256 B
TypeScript

//// [tests/cases/compiler/exportDefaultImportedType.ts] ////
//// [exported.ts]
type Foo = number;
export { Foo };
//// [main.ts]
import { Foo } from "./exported";
export default Foo;
//// [exported.js]
export {};
//// [main.js]
export {};