mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
15 lines
361 B
TypeScript
15 lines
361 B
TypeScript
// @target: ES6
|
|
// @module: amd
|
|
// @rootDir: tests/cases/conformance/es6/moduleExportsAmd/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"); |