7 lines
260 B
TypeScript
7 lines
260 B
TypeScript
import type { ICustomerRepository } from "../repositories";
|
|
import { CustomerFinder, type ICustomerFinder } from "../services";
|
|
|
|
export function buildCustomerFinder(repository: ICustomerRepository): ICustomerFinder {
|
|
return new CustomerFinder(repository);
|
|
}
|