import type { IServiceImplementationResolver, SingleServiceType, } from "../types/index.js"; import { factory } from "./factory.js"; export function proxy( service: SingleServiceType, ): IServiceImplementationResolver { return factory((service) => service, service); }