=== tests/cases/conformance/dynamicImport/0.ts === export class B { >B : B print() { return "I am B"} >print : () => string >"I am B" : "I am B" } === tests/cases/conformance/dynamicImport/2.ts === function foo(x: Promise) { >foo : (x: Promise) => void >x : Promise x.then(value => { >x.then(value => { let b = new value.B(); b.print(); }) : Promise >x.then : (onfulfilled?: (value: any) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike) => Promise >x : Promise >then : (onfulfilled?: (value: any) => TResult1 | PromiseLike, onrejected?: (reason: any) => TResult2 | PromiseLike) => Promise >value => { let b = new value.B(); b.print(); } : (value: any) => void >value : any let b = new value.B(); >b : any >new value.B() : any >value.B : any >value : any >B : any b.print(); >b.print() : any >b.print : any >b : any >print : any }) } foo(import("./0")); >foo(import("./0")) : void >foo : (x: Promise) => void >import("./0") : Promise >"./0" : "./0"