/// // @Filename: types1.ts ////type A = {}; ////export default A; // @Filename: types2.ts ////export type B = {}; ////export type C = {}; ////export type D = {}; // @Filename: interface.ts ////import A from './types1'; ////import { B, C, D } from './types2'; //// ////export interface Base { //// a: Readonly & { kind: "a"; }; //// b(p1: C): D; ////} // @Filename: index.ts ////import { Base } from './interface'; //// ////export class C implements Base {[| |]} goTo.file('index.ts'); verify.codeFix({ description: "Implement interface 'Base'", newFileContent: `import { Base } from './interface'; import A from './types1'; import { B, C, D } from './types2'; export class C implements Base { a: Readonly & { kind: 'a'; }; b(p1: C): D { throw new Error('Method not implemented.'); } }`, });