// @module: commonjs // @target: es6 // @noImplicitAny: true // @filename: anotherModule.ts export class D{} // @filename: defaultPath.ts export class C {} // @filename: 1.ts import * as defaultModule from "./defaultPath"; import * as anotherModule from "./anotherModule"; let p1: Promise = import("./defaultPath"); let p2 = import("./defaultPath") as Promise; let p3: Promise = import("./defaultPath");