Type alias ResolveServiceMethod<S, Path>
ResolveServiceMethod<S, Path>: Path extends `${infer Base}/${infer SubPath}` ? ResolveServiceMethod<S[Base], SubPath> : S[Path] extends ServiceMethod<infer _C, infer _T, infer _X> ? S[Path] : never Type Parameters
S extends Record<string, any>
Path extends string