=== tests/cases/compiler/classImplementsImportedInterface.ts === module M1 { >M1 : any export interface I { >I : I foo(); >foo : () => any } } module M2 { >M2 : typeof M2 import T = M1.I; >T : any >M1 : any >I : T class C implements T { >C : C >T : T foo() {} >foo : () => void } }