import type { IResolverServiceType } from "./IResolverServiceType.js"; import type { SingleServiceType } from "./SingleServiceType.js"; export type ServiceType = | SingleServiceType | IResolverServiceType; export type GetServiceTypeImplementation< T extends ServiceType | ServiceType[], > = T extends ServiceType ? U : { [K in keyof T]: T[K] extends ServiceType ? V : never; };