TypeScript/tests/cases/conformance/dynamicImport/importCallExpressionInExportEqualsCJS.ts

9 lines
193 B
TypeScript
Raw Normal View History

// @module: commonjs
// @target: esnext
// @filename: something.ts
export = 42;
// @filename: index.ts
export = async function() {
const something = await import("./something");
};