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

10 lines
173 B
TypeScript
Raw Normal View History

2019-12-21 01:29:49 +01:00
// @module: es2020
// @target: es2020
// @declaration: true
// @filename: 0.ts
export function foo() { return "foo"; }
// @filename: 1.ts
2019-12-21 01:29:49 +01:00
var p1 = import("./0");