TypeScript/tests/cases/compiler/exportDefaultImportedType.ts

11 lines
188 B
TypeScript
Raw Normal View History

// @module: es2015
// @noTypesAndSymbols: true
// @Filename: /exported.ts
type Foo = number;
export { Foo };
// @Filename: /main.ts
import { Foo } from "./exported";
export default Foo;