TypeScript/tests/baselines/reference/importNonExportedMember3.js
Andrew Branch 20471182fc
Fix crash when trying to import a non-exported type (#36619)
* Fix crash when trying to import a non-exported type

* Add related info on each declaration
2020-02-05 08:27:49 -08:00

19 lines
296 B
TypeScript

//// [tests/cases/compiler/importNonExportedMember3.ts] ////
//// [a.ts]
export {}
interface Foo {}
interface Foo {}
namespace Foo {}
//// [b.ts]
import { Foo } from './a';
//// [a.js]
"use strict";
exports.__esModule = true;
//// [b.js]
"use strict";
exports.__esModule = true;