mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 20:22:26 +03:00
16 lines
368 B
TypeScript
16 lines
368 B
TypeScript
|
// @target: ES6
|
||
|
// @module: system
|
||
|
// @rootDir: tests/cases/conformance/es6/moduleExportsSystem/src
|
||
|
// @outFile: output.js
|
||
|
// @filename: src/a.ts
|
||
|
import foo from "./b";
|
||
|
export default class Foo {}
|
||
|
foo();
|
||
|
|
||
|
// @filename: src/b.ts
|
||
|
import Foo from "./a";
|
||
|
export default function foo() { new Foo(); }
|
||
|
|
||
|
// https://github.com/microsoft/TypeScript/issues/37429
|
||
|
import("./a");
|