mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
21 lines
418 B
TypeScript
21 lines
418 B
TypeScript
//// [tests/cases/conformance/dynamicImport/importCallExpressionDeclarationEmit2.ts] ////
|
|
|
|
//// [0.ts]
|
|
export function foo() { return "foo"; }
|
|
|
|
//// [1.ts]
|
|
var p1 = import("./0");
|
|
|
|
|
|
//// [0.js]
|
|
export function foo() { return "foo"; }
|
|
//// [1.js]
|
|
"use strict";
|
|
var p1 = import("./0");
|
|
|
|
|
|
//// [0.d.ts]
|
|
export declare function foo(): string;
|
|
//// [1.d.ts]
|
|
declare var p1: Promise<typeof import("./0")>;
|