export type ServiceFn = (...args: any[]) => any; export type ServiceFactory = (...args: Args) => TReturn;