UNPKG

@wroud/di-tools-codemod

Version:

@wroud/di-tools-codemod is a codemod utility that automates the migration of your codebase from Inversify to @wroud/di. It streamlines the transformation process, allowing for effortless and customizable transitions through configuration support.

5 lines (4 loc) 371 B
import type { FileInfo, JSCodeshift } from "jscodeshift"; import type { ISupportedPackage } from "./ISupportedPackage.js"; import type { ITransformerOptions } from "./ITransformerOptions.js"; export declare function addServiceToModule(file: FileInfo, j: JSCodeshift, transformerOptions: ITransformerOptions, classes: string[], replacingPackage: ISupportedPackage): void;