diff --git a/lib/compiler/interfaces/readonly-visitor.interface.ts b/lib/compiler/interfaces/readonly-visitor.interface.ts index 1bf3ba110..c422243bb 100644 --- a/lib/compiler/interfaces/readonly-visitor.interface.ts +++ b/lib/compiler/interfaces/readonly-visitor.interface.ts @@ -9,12 +9,9 @@ export type DeepPluginMeta = export interface ReadonlyVisitor { key: string; typeImports: Record; - visit( + visit( program: Program, sf: SourceFile, ): void; - collect(): Record< - string, - Array - >; + collect(): Record>; }